Interface: SortableSortingFromSorting

ReactiveDb.SortableSortingFromSorting

Represents a Queryable object, whose resulting documents can be sorted along a DocumentField.

Extends

Members

(readonly) collection :ReactiveDb.CollectionReference

The collection to be queried.

Type:
Inherited From:

Methods

sortingAsc(field) → {ReactiveDb.SortableSortingFromSorting|ReactiveDb.Limitable|ReactiveDb.Projectable}

Requests an ascending sorting order on a given document field. Further sorting directives with an exclusion boundary are no longer available.

Parameters:
Name Type Description
field ReactiveDb.DocumentField

The document field, which to sort on.

Returns:

The resulting Queryable instance may be further specialized using methods of the SortableSortingFromSorting (to add sort directives), Limitable and Projectable interfaces.

Type
ReactiveDb.SortableSortingFromSorting | ReactiveDb.Limitable | ReactiveDb.Projectable

sortingDesc(field) → {ReactiveDb.SortableSortingFromSorting|ReactiveDb.Limitable|ReactiveDb.Projectable}

Requests a descending sorting order on a given document field. Further sorting directives with an exclusion boundary are no longer available.

Parameters:
Name Type Description
field ReactiveDb.DocumentField

The document field, which to sort on.

Returns:

The resulting Queryable instance may be further specialized using methods of the SortableSortingFromSorting (to add sort directives), Limitable and Projectable interfaces.

Type
ReactiveDb.SortableSortingFromSorting | ReactiveDb.Limitable | ReactiveDb.Projectable
deprecated
Authentication
ServerlessDb
ReactiveDb