This function returns the names of all tables that point to the primary key of a table.
dm_get_referencing_tables(dm, table)
| dm | A |
|---|---|
| table | A table in the |
A character vector of the names of the tables that point to the primary
key of table.
Other functions utilizing foreign key relations:
dm_is_referenced()
#> [1] "flights"#> character(0)