no_mistakes_postgres_sql/statements/bounds/bind_values.rs
1use super::Scope;
2use std::{collections::BTreeMap, sync::Arc};
3pub type BindValues = Arc<BTreeMap<(u32, u32), u32>>;
4
5impl Scope {
6 pub(crate) fn with_bind_values(mut self, values: BindValues) -> Self {
7 self.bind_values = values;
8 self
9 }
10 pub(crate) fn bind_values(&self) -> BindValues {
11 Arc::clone(&self.bind_values)
12 }
13}