View source: R/dbInsertOrReplace.R
dbInsertOrReplace | R Documentation |
Seems like an obvious missing piece of the DBI. Ideally, dbWriteTable would have a boolean 'replace' argument that served the same purpose; i.e. record-wise overwrite, rather than table-wise.
dbInsertOrReplace(con, name, df)
con |
DBI database connection |
name |
name of table to insert or replace records into |
df |
data from from which to write data. |
no return value
John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.