getDatabaseSchema: Get Database Schema

View source: R/schema.R

getDatabaseSchemaR Documentation

Get Database Schema

Description

Get Database Schema

Usage

getDatabaseSchema(db, tableNames = NULL, tableTypes = c("TABLE", "VIEW"))

Arguments

db

full path to database (*.mdb, *.xls) or name of ODBC database

tableNames

optional. Vector of table names of tables to be included

tableTypes

types of database objects to be included. Default: c("TABLE", "VIEW")

Value

list with elements tables and relationships. Element tables is a list o named elements with the name representing the table names and the elements being lists describing the table...


KWB-R/kwb.db documentation built on Oct. 1, 2023, 4:10 a.m.