Interface SortingOptions<ModelType>

Sorting options for queries that support it.

Type Parameters

  • ModelType = any

Hierarchy

  • SortingOptions

Properties

Properties

orderBy?: keyof ModelType

Which property to sort for.

sortingOrder?: "desc" | "asc"

The sorting order.

  • "asc" for ascending
  • "desc" for descending

Default

"asc"