powered by
This function returns the names of all tables that point to the primary key of a table.
dm_get_referencing_tables(dm, table)
A dm object.
dm
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_nycflights13() %>% dm_get_referencing_tables(airports) dm_nycflights13() %>% dm_get_referencing_tables(flights) # }
Run the code above in your browser using DataLab