Trait ColumnAsExpr

pub trait ColumnAsExpr: IntoSimpleExpr {
    // Required method
    fn into_column_as_expr(self) -> SimpleExpr;
}
Expand description

Extending IntoSimpleExpr to support casting ActiveEnum as TEXT in select expression

Required Methods§

fn into_column_as_expr(self) -> SimpleExpr

Casting ActiveEnum as TEXT in select expression, otherwise same as IntoSimpleExpr::into_simple_expr

Implementors§