add_foreign_key | R Documentation |
Add a foreign key between two tables
add_foreign_key(
x,
fromTable,
fromFields,
toTable,
toFields,
fmin = 0L,
fmax = -1L,
tmin = 1L,
tmax = 1L
)
x |
a RelDataModel |
fromTable |
the name of the referencing table |
fromFields |
the name of the referencing fields |
toTable |
the name of the referenced table |
toFields |
the names of the referenced fields |
fmin |
from minimum cardinality (default: 0L) |
fmax |
from maximum cardinality (default: -1L ==> Infinite) |
tmin |
to minimum cardinality (default: 1L) |
tmax |
to maximum cardinality (default: 1L) |
A RelDataModel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.