Reference documentation and code samples for the Cloud Spanner V1 Client class ReadWrite.
Message type to initiate a read-write transaction. Currently this transaction type has no options.
Generated from protobuf message google.spanner.v1.TransactionOptions.ReadWrite
Namespace
Google \ Cloud \ Spanner \ V1 \ TransactionOptionsMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ read_lock_mode
int
Read lock mode for the transaction.
↳ multiplexed_session_previous_transaction_id
string
Optional. Clients should pass the transaction ID of the previous transaction attempt that was aborted if this transaction is being executed on a multiplexed session.
getReadLockMode
Read lock mode for the transaction.
setReadLockMode
Read lock mode for the transaction.
$this
getMultiplexedSessionPreviousTransactionId
Optional. Clients should pass the transaction ID of the previous transaction attempt that was aborted if this transaction is being executed on a multiplexed session.
string
setMultiplexedSessionPreviousTransactionId
Optional. Clients should pass the transaction ID of the previous transaction attempt that was aborted if this transaction is being executed on a multiplexed session.
var
string
$this

