[egulu CLI reference](../index.md) / [egulu postgres-clusters](index.md)

# egulu postgres-clusters query

POST /v1/projects/{project}/locations/{location}/postgresClusters/{cluster}:query

```sh
egulu postgres-clusters query [options]
```

## API operation

[PostgresOperating_query](../../api/databases/PostgresOperating_query.md): `POST /v1/projects/{project}/locations/{location}/postgresClusters/{cluster}:query` (databases module)

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--cluster` | value | yes | cluster |
| `--database` | value | no | database |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--row-limit` | value | no | rowLimit |
| `--sql` | value | no | sql |
| `--timeout-ms` | value | no | timeoutMs |

The [global options](../index.md) apply too.
