Options
All
  • Public
  • Public/Protected
  • All
Menu

OData queries take this to determine the order of results.

Type parameters

Hierarchy

  • Order

Implements

  • EntityIdentifiable<EntityT>

Index

Constructors

constructor

  • new Order<EntityT>(_fieldName: string, orderType?: OrderType): Order<EntityT>
  • 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

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

    Returns Order<EntityT>

Properties

Readonly _entity

_entity: EntityT

Readonly _entityConstructor

_entityConstructor: Constructable<EntityT, unknown>

_fieldName

_fieldName: string

orderType

orderType: OrderType