db_rm: Remove a Table

Description Usage Arguments Value Details Examples

View source: R/RMariaDBHelper.R

Description

Remove a table from a database.

Usage

1
db_rm(tablename, conf_file = "~/.db_conf.yml", ...)

Arguments

tablename

(character) A table name to remove from the database.

conf_file

(character) A file containing database connection parameters. (Default: "~/.db_conf.yml")

...

Additional arguments passed to RMariaDB::RemoveTable().

Value

(boolean) Success: TRUE; failure: FALSE.

Details

A table will be removed from the database.

Examples

1
2
3
4
## Not run: 
db_rm("iris")

## End(Not run)

deohs/RMariaDBHelper documentation built on Dec. 31, 2020, 11:17 p.m.