TriggerEntity(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Trigger is not used as an independent entity, it is retrieved as part of a Table entity.
Attributes |
|
---|---|
Name | Description |
name |
str
The name of the trigger. |
triggering_events |
MutableSequence[str]
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE. |
trigger_type |
str
Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW. |
sql_code |
str
The SQL code which creates the trigger. |
custom_features |
google.protobuf.struct_pb2.Struct
Custom engine specific features. |