Cloud Datastore V1 Client - Class ReadWrite (1.29.1)

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

Namespace

Google \ Cloud \ Datastore \ V1 \ TransactionOptions

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setPreviousTransaction

The transaction identifier of the transaction being retried.

Parameter
Name Description
var string
Returns
Type Description
$this