Skip to main content

initcap

Function initcap 

Source
pub fn initcap<'a, V, E>(
    expr: E,
) -> SQLExpr<'a, V, <V::DialectMarker as DialectTypes>::Text, E::Nullable, E::Aggregate>
where V: SQLParam + 'a, V::DialectMarker: PostgresStringSupport, E: Expr<'a, V>, E::SQLType: Textual,
Expand description

INITCAP - converts the first letter of each word to uppercase (PostgreSQL).

Preserves the nullability of the input expression.