SAP Cloud SDK for JavaScript - v4.1.1
    Preparing search index...
    • Combine Filterables with logical and to create a FilterList.

      Type Parameters

      • EntityT extends EntityBase

        Type of the entity filter on.

      • DeSerializersT extends DeSerializers<
            any,
            any,
            any,
            any,
            any,
            any,
            any,
            any,
            any,
            any,
            any,
            any,
            any,
            any,
        >

      Parameters

      Returns FilterList<EntityT, DeSerializersT>

      The newly created FilterList.

      Entity.requestBuilder()
      .getAll()
      .filter(and(filterExp1, filterExp2));

      Note that the GetAllRequestBuilderV2.filter and GetAllRequestBuilderV4.filter method take a rest parameter and thereby an array of filter expressions that are then combined conjunctively. As a consequence following is equivalent to the example above:

      Entity.requestBuilder()
      .getAll()
      .filter(filterExp1, filterExp2);
    • Combine Filterables with logical and to create a FilterList.

      Type Parameters

      • EntityT extends EntityBase

        Type of the entity filter on.

      • DeSerializersT extends DeSerializers<
            any,
            any,
            any,
            any,
            any,
            any,
            any,
            any,
            any,
            any,
            any,
            any,
            any,
            any,
        >

      Parameters

      Returns FilterList<EntityT, DeSerializersT>

      The newly created FilterList.

      Entity.requestBuilder()
      .getAll()
      .filter(and(filterExp1, filterExp2));

      Note that the GetAllRequestBuilderV2.filter and GetAllRequestBuilderV4.filter method take a rest parameter and thereby an array of filter expressions that are then combined conjunctively. As a consequence following is equivalent to the example above:

      Entity.requestBuilder()
      .getAll()
      .filter(filterExp1, filterExp2);

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