ReferenceOption

Represents referential actions used by ON UPDATE or ON DELETE subclauses of a FOREIGN KEY constraint clause.

Entries

Link copied to clipboard

Updates/deletes the referenced parent row, in addition to any rows in the referencing child table.

Link copied to clipboard

Updates/deletes the referenced parent row, and sets the column in the referencing child table to NULL.

Link copied to clipboard

Prevents updating/deleting the referenced parent row.

Link copied to clipboard

In some, but not all, databases, this action is equivalent to RESTRICT. Please check the documentation.

Link copied to clipboard

Updates/deletes the referenced parent row, and sets the column in the referencing child table to its default value.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.