Column names in foreign key tables from dm
dm_fk_colnames.Rd
dm_get_all_fks()
from the package dm
returns a data frame with several columns.
This constant gives those names as a string list
to document their meaning and
to guard against future changes.
Format
A string list with 5 entries.
- child_table
The name of a string column that tells child table names.
- child_fk_cols
The name of a string column that identifies foreign key columns in the child table.
- parent_table
The name of a string column that identifies the table where the child's foreign key is defined.
- parent_key_cols
The name of a string column that tells which column in the parent table contains the definition of the foreign key.
- on_delete
Tells what will happen when the foreign key column is deleted.