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

constructor

  • 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

Readonly _entity

_entity: EntityT

Readonly _entityConstructor

_entityConstructor: Constructable<EntityT, unknown>

Readonly _fieldName

_fieldName: string

Readonly _fieldOf

_fieldOf: ConstructorOrField<EntityT, any>

Readonly _fieldOptions

_fieldOptions: Required<FieldOptions<false, true>>

Readonly edmType

edmType: any

Methods

equals

  • 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

  • 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

  • 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 Ⓒ 2021 SAP SE or an SAP affiliate company. All rights reserved.