Skip to main content

in_list

Function in_list 

Source
pub fn in_list(needle: Expression, list: Expression) -> Expression
Expand description

Creates needle IN (list) with SQL null semantics: a null element is an unknown value, so a needle that matches no element yields null rather than false when the list holds one, and not(in_list(..)) never admits such a row.

let expr = in_list(root(), lit(vec![1, 2, 3]));