Skip last N items (defaults to Number.MAX_SAFE_INTEGER
).
Skip first N items (defaults to 0
).
Key to sort against.
Sort in ascending or descending order (defaults to false
).
Apollo resolver for to sort and paginate a collection of items.
Parent object containing the collection of items.
Pagination and Sorting options.
Slice of sorted items from a collection.
Returns a slice from a collection of items.
Collection of items.
Pagination options.
Slice of collection.
Sort a collection of items.
Collection to sort.
Sorting options.
Sorted collection.
Generated using TypeDoc
Provides utility functions to work with collections of items within a GraphQL resolver.