Cloud Datastore V1 Client - Class ReadWrite (1.21.2)

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

Options specific to read / write transactions.

Generated from protobuf message google.datastore.v1.TransactionOptions.ReadWrite

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ previous_transaction string

The transaction identifier of the transaction being retried.

getPreviousTransaction

The transaction identifier of the transaction being retried.

Returns
TypeDescription
string

setPreviousTransaction

The transaction identifier of the transaction being retried.

Parameter
NameDescription
var string
Returns
TypeDescription
$this