Reference documentation and code samples for the Cloud Datastore V1 Client class RunQueryResponse.
The response for Datastore.RunQuery.
Generated from protobuf message google.datastore.v1.RunQueryResponse
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ batch |
Google\Cloud\Datastore\V1\QueryResultBatch
A batch of query results (always present). |
↳ query |
Google\Cloud\Datastore\V1\Query
The parsed form of the |
getBatch
A batch of query results (always present).
Generated from protobuf field .google.datastore.v1.QueryResultBatch batch = 1;
Returns | |
---|---|
Type | Description |
Google\Cloud\Datastore\V1\QueryResultBatch|null |
hasBatch
clearBatch
setBatch
A batch of query results (always present).
Generated from protobuf field .google.datastore.v1.QueryResultBatch batch = 1;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Datastore\V1\QueryResultBatch
|
Returns | |
---|---|
Type | Description |
$this |
getQuery
The parsed form of the GqlQuery
from the request, if it was set.
Generated from protobuf field .google.datastore.v1.Query query = 2;
Returns | |
---|---|
Type | Description |
Google\Cloud\Datastore\V1\Query|null |
hasQuery
clearQuery
setQuery
The parsed form of the GqlQuery
from the request, if it was set.
Generated from protobuf field .google.datastore.v1.Query query = 2;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Datastore\V1\Query
|
Returns | |
---|---|
Type | Description |
$this |