in_array

Function in_array 

Source
pub fn in_array<'a, V, E, I, R>(
    expr: E,
    values: I,
) -> SQLExpr<'a, V, Bool, NonNull, Scalar>
where V: SQLParam + 'a, E: Expr<'a, V>, I: IntoIterator<Item = R>, R: Expr<'a, V>, E::SQLType: Compatible<R::SQLType>,
Expand description

IN array check.

Returns true if the expression’s value is in the provided array. Requires the expression type to be compatible with the array element type.