(#362) Part 3: implement querying against simple keywords. r=nalexander

This commit is contained in:
Richard Newman 2017-03-06 20:17:08 -08:00
parent ce3a9bdf87
commit b5867e9131

View file

@ -620,7 +620,9 @@ impl ConjoiningClauses {
return;
}
} 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) => {