Options
All
  • Public
  • Public/Protected
  • All
Menu

Data structure to combine Filterables conjunctively and / or disjunctively. A FilterList matches when all filterables within the andFilters match and when at least one filterable within the orFilters matches. Should not be used directly.

Type parameters

Hierarchy

  • FilterList

Implements

  • EntityIdentifiable<EntityT>

Index

Constructors

  • Creates an instance of FilterList.

    Type parameters

    Parameters

    • Optional andFilters: Filterable<EntityT, any>[]

      Filters to be combined by logical conjunction (and)

    • Optional orFilters: Filterable<EntityT, any>[]

      Filters to be combined by logical disjunction (or)

    Returns FilterList<EntityT>

Properties

_entity: EntityT

Entity type of the entity tp be filtered.

_entityConstructor: Constructable<EntityT, unknown>

Constructor type of the entity to be filtered.

andFilters: Filterable<EntityT, any>[]
orFilters: Filterable<EntityT, any>[]

Methods

  • deprecated

    Since v1.28.1. This function should not be used, since some OData Services might not support the flattened filter expression. Flattens andFilters and orFilters as far as possible while staying logically equivalent.

    Returns FilterList<EntityT>

    Flattened filter list.

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