2.2.0 (latest) 2.0.6 1.34.2 1.33.1 1.32.3 1.31.0 1.30.0 1.29.2 1.28.2 1.26.0 1.25.0 1.24.4 1.23.0 1.22.1 1.21.2 1.19.0 1.18.1 1.17.1 Reference documentation and code samples for the Cloud Datastore Client class QueryInterface.

Represents a Datastore Query.

## Namespace

Google \\ Cloud \\ Datastore \\ Query

## Methods

### queryObject

See also:

- [HTTP Request](https://cloud.google.com/datastore/reference/rest/v1/projects/runQuery#http-request)

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `array` |   |

### queryKey

See also:

- [Request Body](https://cloud.google.com/datastore/reference/rest/v1/projects/runQuery#request-body)

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### canPaginate

Indicate whether the query type supports automatic pagination

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### start

Set the starting cursor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `cursor` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `void` |   |