Description Usage Arguments Examples
Updates an existing data table
1 | sql_update(tbl, set, where)
|
tbl |
- the table you'd like to perform an update on |
set |
- a list (or vector/matrix/data.frame) containing vectors of values you'd like to update the selected rows with. Each different column change should be an element. Each list element is a different query. |
where |
- a vector of where conditions for each of your updates |
1 | sql_update("table_1", list(c("c1 = 301", "c2 =307"), c("c1 =909")), c("c1=300","c1 =99"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.