QueryBuilder<T> class

Query builder allows creating reusable queries.

Constructors

QueryBuilder(Store store, EntityDefinition<T> entity, Condition<T>? qc)
Start creating a query.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

inherited
backlinkMany<SourceEntityT>(QueryRelationMany<SourceEntityT, T> rel, [Condition<SourceEntityT>? qc]) → _QueryBuilder<SourceEntityT>
inherited
build() Query<T>
Finish building a Query. Call Query.close() after you're done with it to free resources.
inherited
linkMany<TargetEntityT>(QueryRelationMany<T, TargetEntityT> rel, [Condition<TargetEntityT>? qc]) → _QueryBuilder<TargetEntityT>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
order<_>(QueryProperty<T, _> p, {int flags = 0}) → void
Configure how the results are ordered. Pass a combination of Order flags.
toString() String
A string representation of this object.
inherited
watch({bool triggerImmediately = false}) Stream<Query<T>>
Finish building a Query creating a stream that issues events whenever queried entity changes. Streamed query is persisted between stream events and closed when you cancel the subscription.

Operators

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