Push a local (in-memory) dataset into a the duckdb database as a table. This enables it to share the connection source with other data. This is equivalent to the behavior of copy=TRUE on many (but not all) of the two-table verbs in dplyr.
as_dataset(df, conn = cached_connection())
a remote dplyr::tbl
connection to the table.
a local data frame. Otherwise will be passed back without side effects
A connection to a database.