Pre: add ConjoiningClauses::known_type_set.
This commit is contained in:
parent
899e5d0971
commit
9ac2b8c680
1 changed files with 4 additions and 0 deletions
|
@ -356,6 +356,10 @@ impl ConjoiningClauses {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn known_type_set(&self, var: &Variable) -> ValueTypeSet {
|
||||||
|
self.known_types.get(var).cloned().unwrap_or(ValueTypeSet::any())
|
||||||
|
}
|
||||||
|
|
||||||
pub fn bind_column_to_var<C: Into<Column>>(&mut self, schema: &Schema, table: TableAlias, column: C, var: Variable) {
|
pub fn bind_column_to_var<C: Into<Column>>(&mut self, schema: &Schema, table: TableAlias, column: C, var: Variable) {
|
||||||
let column = column.into();
|
let column = column.into();
|
||||||
// Do we have an external binding for this?
|
// Do we have an external binding for this?
|
||||||
|
|
Loading…
Reference in a new issue