sea-query
sea-query copied to clipboard
Missing Expr::tbl
In the documentation (https://www.sea-ql.org/SeaORM/docs/advanced-query/custom-joins/) there is an example of Expr::tbl, which seems to be missing.
.column_as(
Expr::tbl(Alias::new("fruit_alias"), fruit::Column::Name).into_simple_expr(),
"fruit_name"
)
I assume either the documentation or the code needs an update.