dm_get_all_fks | R Documentation |
Get a summary of all foreign key relations in a dm
.
dm_get_all_fks(dm, parent_table = NULL, ...)
dm |
A |
parent_table |
One or more table names, unquoted,
to return foreign key information for.
If given, foreign keys are returned in that order.
The default |
... |
These dots are for future extensions and must be empty. |
A tibble with the following columns:
child_table
child table,
child_fk_cols
foreign key column(s) in child table as list of character vectors,
parent_table
parent table,
parent_key_cols
key column(s) in parent table as list of character vectors.
on_delete
behavior on deletion of rows in the parent table.
Other foreign key functions:
dm_add_fk()
,
dm_enum_fk_candidates()
,
dm_rm_fk()
dm_nycflights13() %>%
dm_get_all_fks()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.