dm_create_references: Create reference info

Description Usage Arguments Details

View source: R/dm.R

Description

Creates references (foreign keys) based on reference table names in column info table.

Usage

1

Arguments

col_table

A data frame with table columns

Details

The function is used when creating data model object. col_table must have at least table, column and ref elements. When referencing to tables with compound primary keys additional ref_col with primary key columns must be provided.


bergant/datamodelr documentation built on March 6, 2021, 5:47 a.m.