class %Library.TriggerHelper
extends %RegisteredObject
property msg
as %RawString;
Holds an error message when ok=0
property ok
as %RawString [ InitialExpression = 1 ];
1/0 flag. Set to 0 if the trigger failed and should cause the filing operation to report an error with a message in msg
property operation
as %RawString;
Holds the operation being performed.
Returns INSERT, UPDATE, or DELETE depending on the current SQL /Objects operation
property properties
as %String(MAXLEN=250) [ MultiDimensional ];
Holds the property names/values that can be referenced by the Python trigger code
property time
as %RawString;
Holds the time when the trigger is pulled, 'before' or 'after'
property type
as %RawString;
Holds the type of trigger, (Foreach). row, row/object, statement