# QUERY

Querying an AirData App Object returns the App Object instances that fit the query parameters.

## Query Properties

### App Object

Expects type `object`.

Sets which AirData App Object will be queried

### Paginate Type

If **Limit Offset** is selected, limits the number of rows returned from a query and omit a specified number of rows.

#### Paginate Limit

* type: `int`
* description: Limit the number of pages to return in a query

#### Paginate Offset

* type: `int`
* default: 0
* description: Depth into the result set to return

#### Query Limit

* type: `int`
* default: 100
* description: Maximum number of results to return in a given page

Data can be queried using the Visual Query Builder as well as the expression editor.

<figure><img src="https://2093598723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC2DgLBPTrwoEhWaU24LL%2Fuploads%2Fgit-blob-28cbaf36c3679b5824ec6ae286dcce37aaf14b7c%2Fquery-airdata-request-v180-0.png?alt=media" alt="" width="400"><figcaption></figcaption></figure>

###

The expression editor allows you to use Airscript to filter the data returned by AirData queries. For more information on how, see [AirData Querying Capabilities](../../data-and-integrations/airdata/airdata-querying-capabilities).

### Visual Query Builder

Visual Query Builder provides a visual representation of grouping and querying data in AirData.

The query can either be an **AND** query or an **OR** query. **AND** will query all records if all group conditions are `TRUE`. **OR** will display records if any of the group conditions are `TRUE`

![](https://2093598723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC2DgLBPTrwoEhWaU24LL%2Fuploads%2Fgit-blob-ad019751ade531cb2cb7e6655cedbba2b51cb1ce%2Fquery-airdata-request-v180-1.png?alt=media)

When Adding groups, fields can be combined to create more precise filters. For example, the image below represents a query that will return all records where the `score = 10` **AND** `returning_customer = true` **OR** `score > 8`..

![](https://2093598723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC2DgLBPTrwoEhWaU24LL%2Fuploads%2Fgit-blob-f53fe7f8795da3f0e912e9db29456bc51fe9c1a9%2Fquery-airdata-request-v180-2.png?alt=media)
