SyncQuery class Null safety Query
A Query with a primarily synchronous API.
- Implemented types
- Implementers
Constructors
- SyncQuery.fromJsonRepresentation(SyncDatabase database, String json)
-
Creates an SyncQuery from the Query.jsonRepresentation of a query.
factory
- SyncQuery.fromN1ql(SyncDatabase database, String query)
-
Creates a SyncQuery from a N1QL
query
.factory
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< SyncResultSet> listener) → ListenerToken -
Adds a
listener
to be notified of changes to the results of this query. [...]override -
changes(
) → Stream< QueryChange< SyncResultSet> > -
Returns a Stream to be notified of changes to the results of this query. [...]
override
-
execute(
) → SyncResultSet -
Executes this query. [...]
override
-
explain(
) → 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) → void -
Removes a previously added change listener. [...]
override
-
setParameters(
Parameters? value) → 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