Description Usage Arguments Value Details Examples
View source: R/RMariaDBHelper.R
Run a database query that returns a dataframe.
1 | db_fetch_query(query, conf_file = "~/.db_conf.yml", ...)
|
query |
(character) A SQL statement as a text string. |
conf_file |
(character) A file containing database connection parameters. (Default: "~/.db_conf.yml") |
... |
Additional arguments passed to RMariaDB::dbGetQuery(). |
(dataframe) The query result returned as a dataframe.
A SQL statement will be run and a dataframe of results will be returned.
1 2 3 4 | ## Not run:
db_fetch_query("SELECT * FROM my.tablename LIMIT 10;")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.