Description Usage Arguments Value Details Examples
View source: R/RMariaDBHelper.R
Run a database query that returns the number of affected rows.
1 | db_run_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::dbExecute(). |
(integer) The number of affected rows.
A SQL statement will be run and the number of affected rows will be returned.
1 2 3 4 | ## Not run:
db_run_query("DELETE FROM my.tablename WHERE id = 1;")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.