Triggers

module: pyrseas.dbobject.trigger

The trigger module defines two classes, Trigger and TriggerDict, derived from DbSchemaObject and DbObjectDict, respectively.

Trigger

Trigger is derived from ~pyrseas.dbobject.DbSchemaObject and represents a Postgres regular or constraint trigger.

autoclass: Trigger

automethod: Trigger.identifier

automethod: Trigger.to_map

automethod: Trigger.create

Trigger Dictionary

TriggerDict is derived from ~pyrseas.dbobject.DbObjectDict. It is a dictionary that represents the collection of triggers in a database.

autoclass: TriggerDict

automethod: TriggerDict.from_map