SearchCriteria class
Represents a search criteria
A search criteria contains all the parameters required to perform a search, which include the conditions, which fields to be returned, which field to be ordered by, and paging criteria, namely how many records to skip from the total results and how many to take.
Constructors
-
SearchCriteria({List<
Expression> searchConditions = const [], List<ReturnField> returnFields = const [], List<OrderBy> orderByFields = const [], int? skip, int? take}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
orderByFields
→ List<
OrderBy> -
Sorting criteria.
final
-
returnFields
→ List<
ReturnField> -
Projection of fields to be returned.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
searchConditions
→ List<
Expression> -
Business filter of the conditions to be applied to the search
final
- skip → int?
-
How many documents to skip.
final
- take → int?
-
How many documents to be taken.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited