check_table_exists: Check table existence

Description Usage Arguments Examples

Description

Checks if table exists for given data engine and optional connection. Function returns TRUE when table exists and FALSE otherwise. This function does not check that table contains any data or columns at all.

Usage

1
check_table_exists(engine, table, con = NA, debug = FALSE)

Arguments

engine

See function create_schema for details.

table

See function create_schema for details.

con

Required for PostgreSQL. See function create_schema for details.

debug

See function create_schema for details.

Examples

1
2
3
4
5
check_table_exists('R','iris')

## Not run: 
check_table_exists('PostgreSQL','table',c('usr','pwd','db','host','port') 
## End(Not run)

tomasgreif/mondrianr documentation built on May 31, 2019, 5:15 p.m.