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 | |
---|---|
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.
Generated from protobuf field bytes previous_transaction = 1;
Returns | |
---|---|
Type | Description |
string |
setPreviousTransaction
The transaction identifier of the transaction being retried.
Generated from protobuf field bytes previous_transaction = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |