Learn R Programming

dm (version 0.0.6)

dm_get_all_fks: Retrieve all foreign key constraints in a dm

Description

Get a summary of all foreign key relations in a dm

Usage

dm_get_all_fks(dm)

Arguments

dm

A dm object.

Value

A tibble with columns:

  • "child_table": child table,

  • "child_fk_col": foreign key column in child table,

  • "parent_table": parent table.

See Also

Other foreign key functions: dm_add_fk(), dm_enum_fk_candidates(), dm_get_fk(), dm_has_fk(), dm_rm_fk()

Examples

Run this code
# NOT RUN {
dm_get_all_fks(dm_nycflights13())
# }

Run the code above in your browser using DataLab