Description Usage Arguments Value Details Examples
View source: R/RMariaDBHelper.R
Remove a column (field) to a database table.
1 | db_drop_col(tablename, fieldname, conf_file = "~/.db_conf.yml")
|
tablename |
(character) A table name in a database. |
fieldname |
(character) A field name to remove from a database table. |
conf_file |
(character) A file containing database connection parameters. (Default: "~/.db_conf.yml") |
(integer) The number of rows affected by the field addition.
An ALTER TABLE ... DROP COLUMN command will remove a field from a table in a database.
1 2 3 4 | ## Not run:
db_drop_col("iris", "Species")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.