OnCreateQuery class final
A query defined in a drift file that should run when the database is created.
- Inheritance
-
- Object
- DatabaseSchemaEntity
- OnCreateQuery
Constructors
- OnCreateQuery(CustomComponent definition)
- Creates a trigger from its name and the (possibly dialect-specific) definition generator.
Properties
- definition → CustomComponent
-
The dialect-specific SQL text to write when creating the database.
final
- entityName → String
-
The (unalised) name of this entity in the database.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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