# Database subscriber WHERE conditions

**URL:** <https://forum.alumio.com/t/database-subscriber-where-conditions/1701>\
**Category:** Incoming Configuration\
**Created:** [February 25, 2025, 9:59am UTC](https://forum.alumio.com/t/database-subscriber-where-conditions/1701 "2025-02-25T09:59:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![m.arief](https://forum.alumio.com/user_avatar/forum.alumio.com/m.arief/32/1568_2.png) [@m.arief](https://forum.alumio.com/u/m.arief)\
**Post date:** [February 27, 2025, 11:22am UTC](https://forum.alumio.com/t/database-subscriber-where-conditions/1701/3 "2025-02-27T11:22:10Z")

</div>

Hi @gerg.borsodi,

You can use following operator for where conditions :

1. eq
2. neq
3. gt
4. gte
5. lt
6. lte
7. inq
8. nin
9. like
10. nlike
11. regexp

You can read full schema in here

```auto
{
  "type": "object",
  "additionalProperties": {
    "oneOf": [
      {
        "type": "object",
        "title":"Search criteria",
        "properties": {
          "eq": {
            "$ref": "#/definitions/value"
          },
          "neq": {
            "$ref": "#/definitions/value"
          },
          "gt": {
            "$ref": "#/definitions/value"
          },
          "gte": {
            "$ref": "#/definitions/value"
          },
          "lt": {
            "$ref": "#/definitions/value"
          },
          "lte": {
            "$ref": "#/definitions/value"
          },
          "inq": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/value"
            }
          },
          "nin": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/value"
            }
          },
          "like": {
            "$ref": "#/definitions/value"
          },
          "nlike": {
            "$ref": "#/definitions/value"
          },
          "regexp": {
            "$ref": "#/definitions/value"
          }
        }
      },
      {
        "title": "Value",
        "$ref": "#/definitions/value"
      }
    ]
  },
  "ui": {
    "ui:subTitle": "A set of conditions all results must match"
  },
  "definitions": {
    "value": {
      "type": [
        "string",
        "number",
        "boolean",
        "array",
        "null"
      ]
    }
  }
}

```

For example :

 ![image](https://alumio-forum.s3.dualstack.eu-central-1.amazonaws.com/uploads/original/2X/6/6a7002191c30b1471e5c10a2e0dfc3a5d4567266.png)

However, we recommend to use RAW Query instead, because it much easier to use for complex query. You can then divide the rows into separated tasks by using transformer “Get branches from a pattern”

 ![image](https://alumio-forum.s3.dualstack.eu-central-1.amazonaws.com/uploads/original/2X/a/a33e9f0209663a3325677592bc2c094dba0ae5b6.png)

These article might help you

> [@Database Transformer](https://forum.alumio.com/t/database-transformer/1379):
>
> Table of contents General description The different parts of the Database Transformer General description This Database Transformer can be used to interact with databases via a pre-configured or inline-configured connection. By using this Transformer, it is possible to directly interact with a database to either retrieve or store data. All queries can be executed from generating tables to removing records. However, this can be limited based on the rights of the used account to connect to the d…

> [@Get branches from a pattern](https://forum.alumio.com/t/get-branches-from-a-pattern/258):
>
> Table Of Contents Use case Video guide Use case It is a common practice for the users to opt for multiple individual processing over batch-processing since the former offers better maintenance and governance over the integrations. While it sounds cool, accomplishing it on-the-ground is not that easy since a single interaction with a foreign system can result in the retrieval of multiple data entities. Alumio comes armed with one of the finest transformers, namely Get branches from a pattern, …

---

_[View the full topic](https://forum.alumio.com/t/database-subscriber-where-conditions/1701)._
