dbi.catalog | R Documentation |
dbi.catalog
A dbi.catalog
represents a database catalog.
dbi.catalog(conn, schemas)
conn |
a connection handle returned by |
schemas |
a character vector of distinct schema names. These schemas will be loaded
into the |
a dbi.catalog
.
# chinook.duckdb is a zero-argument function that returns a DBI handle
(db <- dbi.catalog(chinook.duckdb))
# list schemas
ls(db)
# list the tables in the schema 'main'
ls(db$main)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.