Skip to contents

Get foreign keys from RelTableModel

Usage

# S3 method for RelTableModel
get_foreign_keys(x)

Arguments

x

a RelTableModel

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