Cloud Datastore V1 Client - Class GqlQueryParameter (1.28.2)

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

Namespace

Google \ Cloud \ Datastore \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Cloud\Datastore\V1\Value|null

hasValue

setValue

A value parameter.

Parameter
Name Description
var Google\Cloud\Datastore\V1\Value
Returns
Type Description
$this

getCursor

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

Returns
Type Description
string

hasCursor

setCursor

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

Parameter
Name Description
var string
Returns
Type Description
$this

getParameterType

Returns
Type Description
string