| connection_update | R Documentation |
Updates an existing record in a table with automatic timestamp handling. If the table has an updated_at column, it will be set automatically.
connection_update(conn, table_name, id, values, auto_timestamps = TRUE)
conn |
Database connection |
table_name |
Name of the table |
id |
The ID of the record to update |
values |
Named list of column-value pairs to update |
auto_timestamps |
Whether to automatically set updated_at (default: TRUE) |
Number of rows affected
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.