Function diesel::pg::expression::dsl::all[][src]

pub fn all<ST, T>(vals: T) -> All<T::Expression> where
    T: AsArrayExpression<ST>, 
Expand description

Creates a PostgreSQL ALL expression.

As with most bare functions, this is not exported by default. You can import it specifically as diesel::dsl::all.

Example

let tess = (2, "Tess".to_string());
let data = users.filter(name.ne(all(vec!["Sean", "Jim"])));
assert_eq!(Ok(vec![tess]), data.load(&connection));