Query class abstract interface Query

A Database query.

Implemented types
Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
isClosed bool
Whether this resource has been closed.
no setterinherited
jsonRepresentation String?
The JSON representation of this query.
no setter
parameters Parameters?
The values with which to substitute the parameters defined in the query.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sqlRepresentation String?
The SQL++ representation of this query.
no setter

Methods

addChangeListener(QueryChangeListener<ResultSet> listener) FutureOr<ListenerToken>
Adds a listener to be notified of changes to the results of this query.
changes() Stream<QueryChange<ResultSet>>
Returns a Stream to be notified of changes to the results of this query.
execute() FutureOr<ResultSet>
Executes this query.
explain() FutureOr<String>
Returns a string describing the implementation of the compiled query.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeChangeListener(ListenerToken token) FutureOr<void>
Removes a previously added change listener.
setParameters(Parameters? value) FutureOr<void>
Sets the parameters of this query.
toString() String
A string representation of this object.
inherited

Operators

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