FindOptions class

The options for find operation.

Constructors

FindOptions.new({SortableFields? orderBy, int? skip, int? limit})
Creates a new instance of FindOptions.

Properties

distinct bool
Indicates if the find operation should return distinct results.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
limit int?
Gets the limit count.
getter/setter pair
orderBy SortableFields?
Gets the SortableFields for sorting the find results.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skip int?
Gets the skip count.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setLimit(int value) FindOptions
Set the limit count.
setSkip(int value) FindOptions
Set the skip count.
thenOrderBy(String fieldName, SortOrder sortOrder) FindOptions
Set the sorting order for the find results.
toString() String
A string representation of this object.
inherited
withDistinct(bool value) FindOptions
Set the flag if the find operation should return distinct results.

Operators

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