no-mistakes-postgres-sql 0.109.129

PostgreSQL SQL parsing, statement facts, and identifier extraction for no-mistakes
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::Scope;
use std::{collections::BTreeMap, sync::Arc};
pub type BindValues = Arc<BTreeMap<(u32, u32), u32>>;

impl Scope {
    pub(crate) fn with_bind_values(mut self, values: BindValues) -> Self {
        self.bind_values = values;
        self
    }
    pub(crate) fn bind_values(&self) -> BindValues {
        Arc::clone(&self.bind_values)
    }
}