SpecialQuery class
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.
no setteroverride
- declaration → SpecialQueryDeclaration
-
Gets the declaration of this element, if set.
final
- displayName → String
-
A human readable name of this entity, like the table name.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- mode → SpecialQueryMode
-
final
-
references
↔ List<
MoorTable> -
All entities that have to be created before this entity can be created.
getter/setter pairoverride-getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sql → String
-
final
Methods
-
formattedSql(
MoorOptions options) → String -
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