pub fn lower<'a, E>(expression: E) -> Function<'a>where
E: Into<Expression<'a>>,
Expand description
Converts the result of the expression into lowercase string.
let query = Select::from_table("users").value(lower(Column::from("name")));
let (sql, _) = Sqlite::build(query)?;
assert_eq!("SELECT LOWER(`name`) FROM `users`", sql);