| connection_delete | R Documentation |
Deletes a record from a table. Supports soft-delete pattern where records have a deleted_at column. Hard-delete can be forced with soft = FALSE.
connection_delete(conn, table_name, id, soft = TRUE)
conn |
Database connection |
table_name |
Name of the table |
id |
The ID of the record to delete |
soft |
Whether to use soft-delete if available (default: TRUE) |
Number of rows affected
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.