Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FilterList<EntityT>

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

Properties

Readonly _entity

_entity: EntityT

Entity type of the entity tp be filtered.

Readonly _entityConstructor

_entityConstructor: Constructable<EntityT>

Constructor type of the entity to be filtered.

andFilters

andFilters: Filterable<EntityT>[]

Filters to be combined by logical conjunction (and)

orFilters

orFilters: Filterable<EntityT>[]

Filters to be combined by logical disjunction (or)

Methods

flatten

  • Flattens andFilters and orFilters as far as possible while staying logically equivalent.

    deprecated

    Since v1.28.1. This function should not be used, since some OData Services might not support the flattened filter expression.

    Returns FilterList<EntityT>

    Flattened filter list