is.Postgre: Test relationship between an object and DB object class

Description Usage Details Value See Also Examples

View source: R/DbPostgre.R

Description

Test relationship between an object and DB object class

Usage

1

Details

Check to see if the given object has the class Postgre.

Value

boolean.

See Also

is

Examples

1
2
3
4
5
6
7
s1 <- Postgre(db_host = '127.0.0.1', db_pass = '123456', db_name = 'test', db_user = 'root')
is.Postgre(s1)
#[1] TRUE

s2 <- list(db_host = '127.0.0.1', db_pass = '123456', db_name = 'test', db_user = 'root')
is.Postgre(s2)
#[1] FALSE

ks465/r-utils documentation built on May 23, 2019, 5:07 p.m.