R: Set the internal alias for a DuckDB relation object

rel_set_alias {duckdb} | R Documentation

## 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

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

[Package duckdb version 0.4.0 Index]