lower

Function lower 

Source
pub fn lower<'a, V, E>(expr: E) -> SQLExpr<'a, V, Text, E::Nullable, Scalar>
where V: SQLParam + 'a, E: Expr<'a, V>, E::SQLType: Textual,
Expand description

LOWER - converts string to lowercase.

Preserves the nullability of the input expression.

§Example

use drizzle_core::expr::lower;

// SELECT LOWER(users.email)
let email_lower = lower(users.email);