(#362) Part 3: implement querying against simple keywords. r=nalexander
This commit is contained in:
parent
ce3a9bdf87
commit
b5867e9131
1 changed files with 3 additions and 1 deletions
|
@ -620,7 +620,9 @@ impl ConjoiningClauses {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
unimplemented!();
|
// It must be a keyword.
|
||||||
|
self.constrain_column_to_constant(col.clone(), DatomsColumn::Value, TypedValue::Keyword(kw.clone()));
|
||||||
|
self.wheres.push(ColumnConstraint::HasType(col.clone(), ValueType::Keyword));
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
PatternValuePlace::Constant(ref c) => {
|
PatternValuePlace::Constant(ref c) => {
|
||||||
|
|
Loading…
Reference in a new issue