rel_order: Lazily reorder a DuckDB relation object

rel_orderR Documentation

Lazily reorder a DuckDB relation object

Description

Lazily reorder a DuckDB relation object

Usage

rel_order(rel, orders)

Arguments

rel

the DuckDB relation object

orders

a list of DuckDB expressions to order by

Value

the now aggregated duckdb_relation object

Examples

con <- DBI::dbConnect(duckdb())
rel <- rel_from_df(con, mtcars)
rel2 <- rel_order(rel, list(expr_reference("hp")))

duckdb documentation built on Sept. 20, 2022, 9:07 a.m.