not_ilike

Function not_ilike 

Source
pub fn not_ilike<'a, L, R>(left: L, pattern: R) -> PostgresSQL<'a>
where L: ToSQL<'a, PostgresValue<'a>>, R: Into<PostgresValue<'a>> + ToSQL<'a, PostgresValue<'a>>,
Expand description

Case-insensitive NOT LIKE pattern matching (PostgreSQL-specific)

§Example

use drizzle::postgres::expressions::not_ilike;

let query = not_ilike(user.name, "%admin%");
// Generates: "name" NOT ILIKE '%admin%'