Add a foreign key between two tables
add_foreign_key(
x,
fromTable,
fromFields,
toTable,
toFields,
fmin = 0L,
fmax = -1L,
tmin = 1L,
tmax = 1L
)
A RelDataModel
a RelDataModel
the name of the referencing table
the name of the referencing fields
the name of the referenced table
the names of the referenced fields
from minimum cardinality (default: 0L)
from maximum cardinality (default: -1L ==> Infinite)
to minimum cardinality (default: 1L)
to maximum cardinality (default: 1L)