Skip to main content

to_nql_predicate

Function to_nql_predicate 

Source
pub fn to_nql_predicate(
    e: &Expr,
    binding: &str,
    strict_qual: bool,
) -> Option<String>
Expand description

Render e as an NQL predicate over one relation, or None when any part of it cannot be rendered with semantics NQL is known to match.

strict_qual demands that every column name carry this relation’s qualifier. With more than one relation in the query an unqualified name may belong to the other one, and pushing another relation’s predicate into this scan is a false negative.