edit_data_tables | R Documentation |
Edit a set of data tables while maintaining consistency among foreign keys
delete_rows(
pk_value,
table_name,
pk_name = paste0(table_name, "_id"),
tables,
model
)
pk_value |
Value of the primary key to delete |
table_name |
Name of the table to delete from |
pk_name |
Name of the primary key column. Defaults to the table name + "_id". |
tables |
Named list of data tables |
model |
|
When calling delete_rows
, a side effect is that only rows that are
related via foreign keys to rows in table_name
are kept. Therefore,
table_name
should always be the primary table.
dm
object with filtered tables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.