SqlQuery<R> class final

A reusable SQL statement and typed result contract, independent of a database.

Constructors

SqlQuery(Sql sql, ResultShape<R> result)
Captures a result description without querying or binding a connection.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
result ResultShape<R>
Required labels and the decoder for each actual result row.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sql Sql
SQL text, parameter values and explicit dialect variants.
final

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