Skip to content

Instance Method

referencedTable(_:)

Specify the name of another table referenced by the constraint.
@discardableResult func referencedTable(_ value: String) -> Self

Discussion

To specify a schema-qualified table, use SQLQualifiedTable.

Note

This option is used for foreign key constraints and is not recommended for general use. Only applies to constraint triggers.