DBOE facilitates the navigation of SQL-based database engines by means of metadata. Engines tested to date include Microsoft SQL Server and MySQL.
connection.listSets or returns a list of saved connections. When providing a list, it should be names by database.
get.metadata()$get.metadata() retrieves metadata information for the database pointed to by argument conns. Once metadata has been retrieved, metadata can be accessed for tables, views, and stored procedures using the following access method: <DBOE obj>$<database name>$<table/view/proc name>
...dots_list: one or more DBI/ODBC connection objects.
chatty(logical) When TRUE, additional execution messages are sent to the console
make.virtual_database()$make.virtual_database creates a set of tbl objects in an environment.
DBOE$make.virtual_database(
conn,
target_env = rlang::caller_env(),
sch = "dbo",
...
)connThe name of a metadata environment (created after calling $get.metadata() )
target_envThe environment object where created objects should be stored
sch(Optional) The target schema (e.g., dbo) on which to filter internal search results
...Names or patterns of objects to retrieve to link from source.
An assignable environment object with DBI-sourced tbls