Trigger class Null safety

A sqlite trigger that's executed before, after or instead of a subset of writes on a specific tables. In drift, triggers can only be declared in .drift files.

For more information on triggers, see the CREATE TRIGGER documentation from sqlite, or the entry on sqlitetutorial.net.

Inheritance

Constructors

Trigger(String createTriggerStmt, String entityName)
Creates a trigger representation by the createTriggerStmt and its entityName. Mainly used by generated code.

Properties

createTriggerStmt String
The CREATE TRIGGER sql statement that can be used to create this trigger.
final
entityName String
The (unalised) name of this entity in the database.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited