Skip to contents

Get foreign keys in RelDataModel

Usage

# S3 method for RelDataModel
get_foreign_keys(x)

Arguments

x

a RelDataModel

Value

A tibble with the following fields:

  • from: the origin of the key

  • ff: the key fields in from

  • to: the target of the key

  • tf: the key fields in to

  • fmin: minimum cardinality of from

  • fmax: maximum cardinality of from

  • tmin: minimum cardinality of to

  • tmax: maximum cardinality of to