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

constructor

  • 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

Readonly _entity

_entity: EntityT

Entity type of the entity tp be filtered.

Readonly _entityConstructor

_entityConstructor: Constructable<EntityT, unknown>

Constructor type of the entity to be filtered.

andFilters

andFilters: Filterable<EntityT, any>[]

orFilters

orFilters: Filterable<EntityT, any>[]

Methods

flatten

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