dbCheckTable: Check to see if a Table/View exists in a DB source.

Description Usage Arguments Value

Description

If the table exists, prompts user for whether they want it dropped, with the additional option of cascading to any dependent views.

Usage

1
2
3
4
5
6
7
dbCheckTable(src, name, schema = "public")

## S3 method for class 'src_dbi'
dbCheckTable(src, name, schema = "public")

## S3 method for class 'DBIConnection'
dbCheckTable(src, name, schema = "public")

Arguments

src

A data source / DB connection

name

Name of table or view

schema

Name of database schema in which to look

Value

TRUE if table does not exist; FALSE otherwise


dshurick/shurtools documentation built on May 25, 2019, 4:25 p.m.