OData queries take this to determine the order of results.

Type Parameters

Hierarchy

  • Order

Implements

Constructors

  • Creates an instance of Order.

    Type Parameters

    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>

Properties

_deSerializers: any

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

_entity: EntityT

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

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

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