Description Usage Arguments Value Details Examples
View source: R/RMariaDBHelper.R
Run a database query that returns the number of columns in a table.
1 | db_ncol(tablename, conf_file = "~/.db_conf.yml")
|
tablename |
(character) A table name to query for number of columns. |
conf_file |
(character) A file containing database connection parameters. (Default: "~/.db_conf.yml") |
(integer) The number of columns in a table.
A SQL query will return a dataframe containing the number of columns.
1 2 3 4 | ## Not run:
db_ncol("iris")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.