> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Query Database

Query a given database.

## Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                                                                                                                                |
  | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Database  | The name of the database.                                                                                                                                                                                                                  |
  | Query     | The body of the database query call.<br /><br />:::note<br />Please note that the query is sensitive to whitespace.<br />For further information, view the [Neo4j Documentation](https://neo4j.com/docs/http-api/current/query/).<br />::: |
</div>

## Example Output

```json theme={"dark"}
{
  "results": [ {
    "columns": ["n"],
      "data": [ {
        "row": [ {
          "name": "Alice",
          "age": 42
        } ],
        "meta": [ {
          "id": 36,
          "elementId": "4:0ea4a108-32c5-498c-99e7-95cc67ab5f7d:36",
          "type": "node",
          "deleted": false
        } ]
      } ]
    } ],
    "errors": [],
    "lastBookmarks": [
    "FB:kcwQDqShCDLFSYyZ55XMZ6tffRuQ"
    ]
  }
}
```

## Workflow Library Example

[Query Database with Neo4j and Send Results Via Email](https://library.blinkops.com/workflows/query-database-with-neo4j-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/query-database-with-neo4j-and-send-results-via-email/canvas" />
</div>
