List Tables in the Current Database and Schema
list_current_tables.RdReturns a lazy tibble of all tables that exist in the current database
and current schema of the active connection.
Queries the standard information_schema.tables view and filters to
current_database() and current_schema().
Value
A dbplyr lazy tibble with columns:
table_catalog— the current database.table_schema— the current schema.table_name— each table name.
Details
This function validates that the connection is valid with
validate_con().Result is a
dbplyrlazy table (tbl_dbi); callcollect()to bring it into R.