powered by
Lazily reorder a DuckDB relation object
rel_order(rel, orders)
the now aggregated duckdb_relation object
duckdb_relation
the DuckDB relation object
a list of DuckDB expressions to order by
con <- DBI::dbConnect(duckdb()) rel <- rel_from_df(con, mtcars) rel2 <- rel_order(rel, list(expr_reference("hp")))
Run the code above in your browser using DataLab