Description Usage Arguments Value Details Examples
View source: R/RMariaDBHelper.R
Show a list of column (field) names for a table in a database.
1 | db_colnames(tablename, conf_file = "~/.db_conf.yml")
|
tablename |
(character) A table name to query for column (field) names. |
conf_file |
(character) A file containing database connection parameters. (Default: "~/.db_conf.yml") |
(character) A vector of column (field) names.
The database will be queried for column (field) names for a table. These names will be returned as a character vector.
1 2 3 4 | ## Not run:
db_colnames("iris")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.