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