QueryWriter class

Writes the handling code for a query. The code emitted will be a method that should be included in a generated database or dao class.

Constructors

QueryWriter(Scope scope)

Properties

hashCode int
The hash code for this object.
no setterinherited
options → MoorOptions
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope Scope
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readingCode(ResultColumn column, GenerationOptions generationOptions, MoorOptions moorOptions) String
Returns Dart code that, given a variable of type QueryRow named row in the same scope, reads the column from that row and brings it into a suitable type.
toString() String
A string representation of this object.
inherited
write(SqlQuery query) → void

Operators

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