MetaForeignKeyPolicy
Description:
[ CCode ( cprefix = "GDA_META_FOREIGN_KEY_" , has_type_id = false ) ]
public enum MetaForeignKeyPolicy
Defines the filtering policy of a foreign key when invoked on an UPDATE or DELETE operation.
Content:
Enum values:
- CASCADE - policy is to
delete any rows referencing the deleted row, or update the value of the referencing column to the new value of the referenced column,
respectively
- NONE - not enforced policy
- NO_ACTION - return an
error, no action taken
- RESTRICT - same as
GDA_META_FOREIGN_KEY_NO_ACTION
, not deferrable
- SET_DEFAULT - policy is
to set the referencing column to its default value
- SET_NULL - policy is to set
the referencing column to NULL
- UNKNOWN - unspecified policy