pub fn list_contains(list: Expression, value: Expression) -> ExpressionExpand description
Creates an expression that checks whether a list contains a value.
A null element never matches anything: a needle that matches no element yields false. For
SQL’s three-valued IN, where a null element makes that null, use in_list.
let expr = list_contains(root(), lit(42));