Expand description
Field extension methods — the predicate-builder surface on
Field<T, V>.
Each method returns a BasicPredicate<T>. The methods are
organised by the trait bounds they require on V: PartialEq for
equality, PartialOrd for ordering, and string-specific methods
for Field<T, String>. Special methods exist for Option<U>
fields (is_null / is_not_null).
Each method also captures the operand value into the constructed
FieldPredicate, type-erased as Arc<dyn Any + Send + Sync>,
so downstream walkers (SQL emitters, debug formatters) can
downcast and inspect. Layout per op is documented on LookupOp.
Case-insensitive string ops use ASCII-only case folding rather than a regex engine or Unicode locale folding. This keeps in-memory predicates portable across runtimes and lets downstream SQL emitters mirror the same contract exactly.
Structs§
- Present
Field - View of an optional field that only compares the present inner value.