db.exists.Rd
Test connection to database
db.exists(params, write = TRUE, table = NA)
params | database connection information |
---|---|
write | logical: test whether we have write access? |
table | name of database table to check |
TRUE if database connection works; else FALSE
Useful to only run tests that depend on database when a connection exists