rel_distinct {duckdb}R 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)

[Package duckdb version 0.6.0 Index]