powered by
dm
Get a summary of all foreign key relations in a dm
dm_get_all_fks(dm)
A dm object.
A tibble with columns:
"child_table": child table,
"child_fk_col": foreign key column in child table,
"parent_table": parent table.
Other foreign key functions: dm_add_fk(), dm_enum_fk_candidates(), dm_get_fk(), dm_has_fk(), dm_rm_fk()
dm_add_fk()
dm_enum_fk_candidates()
dm_get_fk()
dm_has_fk()
dm_rm_fk()
# NOT RUN { dm_get_all_fks(dm_nycflights13()) # }
Run the code above in your browser using DataLab