[SDK reference](../../index.md) / [Models](../index.md) / [Databases](index.md)

# PostgresQueryRequest

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Databases`  

A read-only statement, run once through the SQL console.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Database` | `string?` | `database` | The database to run it on; defaults to `app`. |
| `RowLimit` | `int?` | `rowLimit` | Rows returned at most, 1 to 1000; default 200. |
| `Sql` | `string?` | `sql` | One SELECT, WITH, SHOW, EXPLAIN or VALUES statement, at most 20 000 characters. Anything that writes is refused by the server. |
| `TimeoutMs` | `int?` | `timeoutMs` | The time limit in milliseconds, 100 to 30000; default 10000. |
