View source: R/build_update_statements.R
build_update_statements | R Documentation |
UPDATE
statements from an input data frame.Function to build SQL UPDATE
statements from an input data frame.
build_update_statements(table, df, where = NA, squish = FALSE)
table |
Database's table to update. |
df |
Input data frame to generate |
where |
Which variables in |
squish |
Should white space around commas and equal signs be removed to make the SQL statement shorter? |
Character vector with a length of nrow(df)
.
Stuart K. Grange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.