QueryWriter class Null safety

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.
read-only, inherited
options → MoorOptions
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scope Scope
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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