Learn R Programming

dm (version 0.0.6.9000)

dm_get_referencing_tables: Get the names of the tables of a dm that reference a given table.

Description

Get the names of the tables of a dm that reference a given table.

Usage

dm_get_referencing_tables(dm, table)

Arguments

dm

A dm object.

table

A table in the dm.

Value

A character vector of the names of the tables that point to the primary key of table.

See Also

Other functions utilizing foreign key relations: dm_is_referenced()

Examples

Run this code
# 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