db_direct_list_tables: Function to connect and list a database's tables directly.

View source: R/db_direct_insert.R

db_direct_list_tablesR Documentation

Function to connect and list a database's tables directly.

Description

db_direct_list_tables has been designed so a database can be connected to, tables listed, data returned, and then disconnected with a single function call.

Usage

db_direct_list_tables(file, database)

Arguments

file

JSON file or string containing database connection details. For SQLite databases, use the database's file path. See db_connect for more information.

database

The name of the database within file to use to create a database connection to. If only one entry is in file, this argument is not needed and will be ignored if used.

Value

Character vector.

Author(s)

Stuart K. Grange


skgrange/databaser documentation built on April 21, 2024, 6:30 a.m.