DatumQueryBuilder<T> class
A fluent builder for creating DatumQuery objects with type-safe field access.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- logicalOperator ↔ LogicalOperator
-
The logical operator for combining filters at the root level.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
and(
List< FilterCondition> conditions) → DatumQueryBuilder<T> - Adds a composite AND filter (explicit grouping).
-
build(
) → DatumQuery - Builds and returns the final DatumQuery object.
-
clearFilters(
) → void - Clears all filters.
-
clearSorting(
) → void - Clears all sorting.
-
limit(
int count) → DatumQueryBuilder< T> - Sets the maximum number of items to return.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
offset(
int count) → DatumQueryBuilder< T> - Sets the number of items to skip.
-
or(
List< FilterCondition> conditions) → DatumQueryBuilder<T> - Adds a composite OR filter.
-
orderBy(
String field, {bool descending = false, NullSortOrder nullSortOrder = NullSortOrder.last}) → DatumQueryBuilder< T> - Adds a sorting condition to the query.
-
reset(
) → void - Resets the entire query.
-
toString(
) → String -
A string representation of this object.
inherited
-
where(
String field, {dynamic isEqualTo, dynamic isNotEqualTo, dynamic isGreaterThan, dynamic isGreaterThanOrEqualTo, dynamic isLessThan, dynamic isLessThanOrEqualTo, String? contains, String? containsIgnoreCase, String? startsWith, String? endsWith, List? isIn, List? isNotIn, dynamic arrayContains, List? arrayContainsAny, String? matches, List? between}) → DatumQueryBuilder< T> - Adds a filter condition to the query.
-
whereNotNull(
String field) → DatumQueryBuilder< T> - Adds a not-null check filter.
-
whereNull(
String field) → DatumQueryBuilder< T> - Adds a null check filter.
-
whereRaw(
FilterCondition condition) → DatumQueryBuilder< T> - Adds a raw filter condition.
-
whereWithinDistance(
String field, Map< String, double> center, double radiusInMeters) → DatumQueryBuilder<T> - Adds a geographical distance filter.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited