onDelete

This corresponds to the ON DELETE clause in a FOREIGN KEY definition.

Example:

foreignKey(childColumnA).onDelete(ForeignKeyAction.CASCADE)

Return

The ForeignKeyConstraint instance for further chaining.

Author

MOHAMMAD AZIM ANSARI

Parameters

action

The action to perform (e.g., ForeignKeyAction.CASCADE, ForeignKeyAction.SET_NULL).

See also