Options
All
  • Public
  • Public/Protected
  • All
Menu
deprecated

Since v1.47.0. Use EdmTypeField instead. Represents a selectable property with with an unknown or currently unsupported EDM type like Edm.Geography.

Type parameters

  • EntityT: EntityBase

    Type of the entity the field belongs to

Hierarchy

  • AnyFieldBase<EntityT, true>
    • AnyField

Index

Constructors

  • Creates an instance of EdmTypeField.

    Type parameters

    Parameters

    • fieldName: string

      Actual name of the field used in the OData request.

    • _fieldOf: ConstructorOrField<EntityT, any>

      Constructor type of the entity the field belongs to.

    • edmType: any

      Type of the field according to the metadata description.

    • Optional fieldOptions: FieldOptions<false, true>

      Optional settings for this field.

    Returns AnyField<EntityT>

Properties

_entity: EntityT
_entityConstructor: Constructable<EntityT, unknown>
_fieldName: string
_fieldOf: ConstructorOrField<EntityT, any>
_fieldOptions: Required<FieldOptions<false, true>>
edmType: any

Methods

  • equals(value: any): Filter<EntityT, any>
  • Creates an instance of Filter for this field and the given value using the operator 'eq', i.e. ==.

    Parameters

    • value: any

      Value to be used in the filter

    Returns Filter<EntityT, any>

    The resulting filter

  • fieldPath(): string
  • Path to the field to be used in filter and order by queries.

    Returns string

    Path to the field to be used in filter and order by queries.

  • notEquals(value: any): Filter<EntityT, any>
  • Creates an instance of Filter for this field and the given value using the operator 'ne', i.e. !=.

    Parameters

    • value: any

      Value to be used in the filter

    Returns Filter<EntityT, any>

    The resulting filter

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