dm_is_referenced {dm} | R Documentation |
Is a table of a dm
referenced by another table?
dm_is_referenced(dm, table)
dm |
A |
table |
A table in the |
TRUE
if at least one foreign key exists that points to the primary
key of the table
argument, FALSE
otherwise.
Other functions utilizing foreign key relations:
dm_get_referencing_tables()
dm_nycflights13() %>%
dm_is_referenced(airports)
dm_nycflights13() %>%
dm_is_referenced(flights)