Cloud Datastore V1 Client - Class GqlQueryParameter (1.19.0)

Reference documentation and code samples for the Cloud Datastore V1 Client class GqlQueryParameter.

A binding parameter for a GQL query.

Generated from protobuf message google.datastore.v1.GqlQueryParameter

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ value Google\Cloud\Datastore\V1\Value

A value parameter.

↳ cursor string

A query cursor. Query cursors are returned in query result batches.

getValue

A value parameter.

Returns
TypeDescription
Google\Cloud\Datastore\V1\Value|null

hasValue

setValue

A value parameter.

Parameter
NameDescription
var Google\Cloud\Datastore\V1\Value
Returns
TypeDescription
$this

getCursor

A query cursor. Query cursors are returned in query result batches.

Returns
TypeDescription
string

hasCursor

setCursor

A query cursor. Query cursors are returned in query result batches.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getParameterType

Returns
TypeDescription
string