Initializer
init(table:columns:onDelete:onUpdate:)
Create a foreign key specification.
init(table: any SQLExpression, columns: [any SQLExpression], onDelete: (any SQLExpression)?, onUpdate: (any SQLExpression)?)
Parameters
tableThe table to reference.
columnsOne or more columns to reference.
onDeleteAn optional action to take when referenced rows are deleted.
onUpdateAn optional action to take when referenced rows are updated.