powered by
dm
Get the names of the tables of a dm that reference a given table.
dm_get_referencing_tables(dm, table)
A dm object.
A table in the dm.
A character vector of the names of the tables that point to the primary key of table.
table
Other functions utilizing foreign key relations: dm_is_referenced()
dm_is_referenced()
# NOT RUN { dm_get_referencing_tables(dm_nycflights13(), airports) dm_get_referencing_tables(dm_nycflights13(), flights) # }
Run the code above in your browser using DataLab