QuerySpec constructor
const
QuerySpec({
- required List<
QueryPredicate> predicates, - String? orderByPath,
- CrdtType orderByType = const LwwRegister(),
- bool descending = false,
- int? limit,
- QueryCursor? after,
Creates a spec. Built by CollectionQuery; validation happens there.
Implementation
const QuerySpec({
required this.predicates,
this.orderByPath,
this.orderByType = const LwwRegister(),
this.descending = false,
this.limit,
this.after,
});