Description Usage Arguments Value Details Examples
View source: R/RMariaDBHelper.R
Run a database query on a table that shows the type of a field (column).
1 | db_get_type(tablename, fieldname, conf_file = "~/.db_conf.yml")
|
tablename |
(character) A table name to query for structure. |
fieldname |
(character) A field name to query for Field Type. |
conf_file |
(character) A file containing database connection parameters. (Default: "~/.db_conf.yml") |
(character) The Field Type.
An ALTER TABLE command will return the type of a field in a table in a database.
1 2 3 4 | ## Not run:
db_get_type("iris", "Species")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.