dbi.catalog {dbi.table} | R Documentation |
Create a dbi.catalog
Description
A dbi.catalog
represents a database catalog.
Usage
dbi.catalog(conn, schemas)
Arguments
conn |
a connection handle returned by |
schemas |
a character vector of distinct schema names. These schemas will be loaded
into the |
Value
a dbi.catalog
.
Examples
# 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)
[Package dbi.table version 1.0.4 Index]