OData queries take this to determine the order of results.

Type Parameters



  • Creates an instance of Order.

    Type Parameters


    • _fieldName: string

      Field to order by.

    • Optional orderType: OrderType

      Type of ordering, can be 'asc' for ascending or 'desc' for descending.

    Returns Order<EntityT>


_deSerializers: any

Dummy property to also include the deserializer type in the structure of the entity type.

_entity: EntityT

Dummy property whose type makes structurally identical entities distinguishable in TypeScript.

Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.

_entityConstructor: Constructable<EntityT>
_fieldName: string
orderType: OrderType