ModelQuerySelector<T, TQuery extends ModelQueryBase<Listenable>> class abstract

Class for type-safe handling of collection queries.

Use ModelQuerySelector as an inheritor.

コレクションのクエリをタイプセーフに扱うためのクラス。

ModelQuerySelectorを継承して利用してください。

Implementers
Available Extensions
Annotations

Constructors

ModelQuerySelector({required String key, required TQuery toQuery(CollectionModelQuery value), required CollectionModelQuery modelQuery})
Class for type-safe handling of collection queries.
const

Properties

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

Methods

collectionGroup() → TQuery
Including this will cause this collection to be treated as a collection group.
isNotNull() → TQuery
Only elements whose value for key is not Null can be filtered.
isNull() → TQuery
Only elements with a value of Null for key can be filtered.
limitTo(int value) → TQuery
Limit the number of elements to value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyDocumentChanges() → TQuery
Ensure that the collection is notified of changes to internal documents.
orderByAsc() → TQuery
Sort ascending order on the elements of key.
orderByDesc() → TQuery
Sort descending order on the elements of key.
reset() → TQuery
Reset all conditions.
toString() String
A string representation of this object.
inherited

Operators

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