MoorTrigger class

Implemented types
Available extensions

Constructors

MoorTrigger(String displayName, TriggerDeclaration declaration, MoorTable? on)
MoorTrigger.fromMoor(CreateTriggerStatement stmt, FoundFile file)
factory

Properties

bodyReferences ↔ List<MoorTable>
getter/setter pair
bodyUpdates ↔ List<WrittenMoorTable>
getter/setter pair
dbGetterName → String
The getter in a generated database accessor referring to this model.
no setteroverride
declaration → TriggerDeclaration
Gets the declaration of this element, if set.
final
displayName → String
A human readable name of this entity, like the table name.
final
hashCode → int
The hash code for this object.
no setterinherited
isDeclaredInDart → bool

Available on HasDeclaration, provided by the DeclarationUtils extension

no setter
isDeclaredInDriftFile → bool

Available on HasDeclaration, provided by the DeclarationUtils extension

no setter
on ↔ MoorTable?
The table on which this trigger operates.
getter/setter pair
references → Iterable<MoorSchemaEntity>
All entities that have to be created before this entity can be created.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearResolvedReferences() → void
createSql(MoorOptions options) → String
The CREATE TRIGGER statement that can be used to create this trigger.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited