Update records from tibble or data frame to database
1 | update_records(conn, table, data, dry_run = FALSE, PK = 1, ...)
|
conn |
DB connection object. |
table |
Table name. |
data |
Tibble object with the records to be updated in the database. |
dry_run |
Boolean flag to return the query without running it. |
PK |
Numeric vector with the indices of the columns to use as primary key. |
... |
Optional parameters, including a boolean flag to hide status
messages ( |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.