QueryBuilder<T> class Null safety

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. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

inherited
backlinkMany<SourceEntityT>(QueryRelationToMany<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>(QueryRelationToMany<T, TargetEntityT> rel, [Condition<TargetEntityT>? qc]) → _QueryBuilder<TargetEntityT>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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