pub fn nql_prefilter(
where_: Option<&Expr>,
binding: &str,
bindings: &[String],
nullable: &[String],
) -> Option<String>Expand description
The NQL predicate to pre-filter one relation’s scan with, or None.
Splits the WHERE into AND conjuncts and keeps the ones that render,
which is what makes partial pushdown safe: a subset of a conjunction is a
weaker filter, and a weaker pre-filter only costs rows, never answers.
(A subset of a DISJUNCTION would not be, which is why OR is handled
whole inside to_nql_predicate and never split here.)