SpecialQuery class Null safety

A special query, such as the ones executes when the database was created.

Those are generated from @created: queries in moor files.

Implemented types
Available Extensions

Constructors

SpecialQuery(String sql, SpecialQueryDeclaration declaration, [SpecialQueryMode mode = SpecialQueryMode.atCreate])
SpecialQuery.fromMoor(DeclaredStatement stmt, FoundFile file)
factory

Properties

dbGetterName String?
The getter in a generated database accessor referring to this model.
read-only, override
declaration SpecialQueryDeclaration
Gets the declaration of this element, if set.
final
displayName String
A human readable name of this entity, like the table name.
read-only, override
hashCode int
The hash code for this object.
read-only, inherited
mode SpecialQueryMode
final
references List<MoorTable>
All entities that have to be created before this entity can be created.
read / write, override-getter
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sql String
final

Methods

formattedSql(MoorOptions options) String
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