Learn R Programming

duckdb (version 0.6.0)

rel_set_alias: Set the internal alias for a DuckDB relation object

Description

Set the internal alias for a DuckDB relation object

Usage

rel_set_alias(rel, alias)

Arguments

rel

the DuckDB relation object

alias

the new alias

Examples

Run this code
con <- DBI::dbConnect(duckdb())
rel <- rel_from_df(con, mtcars)
rel_set_alias(rel, "my_new_alias")

Run the code above in your browser using DataLab