rel_distinct: Lazily compute a distinct result on a DuckDB relation object

rel_distinctR Documentation

Lazily compute a distinct result on a DuckDB relation object

Description

Lazily compute a distinct result on a DuckDB relation object

Usage

rel_distinct(rel)

Arguments

rel

the input DuckDB relation object

Value

a new duckdb_relation object with distinct rows

Examples

con <- DBI::dbConnect(duckdb())
rel <- rel_from_df(con, mtcars)
rel2 <- rel_distinct(rel)

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