AsyncQuery class Null safety Query

A Query query with a primarily asynchronous API.

Implemented types
Implementers

Constructors

AsyncQuery()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
isClosed bool
Whether this resource has been closed.
read-only, inherited
jsonRepresentation String?
The JSON representation of this query. [...]
read-only, inherited
parameters Parameters?
The values with which to substitute the parameters defined in the query. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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

Static Methods

fromJsonRepresentation(AsyncDatabase database, String json) Future<AsyncQuery>
Creates an AsyncQuery from the Query.jsonRepresentation of a query.
override
fromN1ql(AsyncDatabase database, String query) Future<AsyncQuery>
Creates an AsyncQuery from a N1QL query.
override