(&self, field: &str, literals: Vec<Datum>)
| 637 | // -- set operators -- |
| 638 | |
| 639 | pub fn is_in(&self, field: &str, literals: Vec<Datum>) -> Result<Predicate> { |
| 640 | if literals.is_empty() { |
| 641 | return Ok(Predicate::AlwaysFalse); |
| 642 | } |
| 643 | self.leaf(field, PredicateOperator::In, literals) |
| 644 | } |
| 645 | |
| 646 | pub fn is_not_in(&self, field: &str, literals: Vec<Datum>) -> Result<Predicate> { |
| 647 | if literals.is_empty() { |
no test coverage detected