on Delete
This corresponds to the ON DELETE clause in a FOREIGN KEY definition.
Example:
foreignKey(childColumnA).onDelete(ForeignKeyAction.CASCADE)Content copied to clipboard
Return
The ForeignKeyConstraint instance for further chaining.
Author
MOHAMMAD AZIM ANSARI
Parameters
action
The action to perform (e.g., ForeignKeyAction.CASCADE, ForeignKeyAction.SET_NULL).