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

Since v1.47.0. Use OrderableEdmTypeField instead. Represents a property with a duration value.

Type parameters

  • EntityT: EntityBase

    Type of the entity the field belongs to

  • SelectableT: boolean = false

Hierarchy

Index

Constructors

constructor

  • Creates an instance of EdmTypeField.

    Type parameters

    • EntityT: EntityBase<EntityT>

    • SelectableT: boolean = false

    Parameters

    Returns DurtionFieldBase<EntityT, SelectableT>

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, SelectableT>>

Readonly edmType

Methods

equals

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

    Parameters

    • value: Duration

      Value to be used in the filter

    Returns Filter<EntityT, Duration>

    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.

greaterOrEqual

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

    Parameters

    • value: Duration

      Value to be used in the filter

    Returns Filter<EntityT, Duration>

    The resulting filter

greaterThan

  • greaterThan(value: Duration): Filter<EntityT, Duration>
  • Creates an instance of Filter for this field and the given value using the operator 'gt', i.e. >.

    Parameters

    • value: Duration

      Value to be used in the filter

    Returns Filter<EntityT, Duration>

    The resulting filter

lessOrEqual

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

    Parameters

    • value: Duration

      Value to be used in the filter

    Returns Filter<EntityT, Duration>

    The resulting filter

lessThan

  • lessThan(value: Duration): Filter<EntityT, Duration>
  • Creates an instance of Filter for this field and the given value using the operator 'lt', i.e. <.

    Parameters

    • value: Duration

      Value to be used in the filter

    Returns Filter<EntityT, Duration>

    The resulting filter

notEquals

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

    Parameters

    • value: Duration

      Value to be used in the filter

    Returns Filter<EntityT, Duration>

    The resulting filter