ilike

Function ilike 

Source
pub fn 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 LIKE pattern matching (PostgreSQL-specific)

§Example

use drizzle::postgres::expressions::ilike;

let query = ilike(user.name, "%john%");
// Generates: "name" ILIKE '%john%'