View source: R/sql_top_level.R
sqlForUpdate | R Documentation |
Generate SQL UPDATE Statement
sqlForUpdate(tablename, keyValues, whereClause, ignore = FALSE)
tablename |
table name |
keyValues |
assignments as list of key=value pairs with the keys representing valid fields of table tablename |
whereClause |
where condition |
ignore |
if TRUE the keyword IGNORE is inserted between UPDATE and INTO in the SQL statement -> no error will be given if updating fails, e.g. because of key constraints |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.