This message is used to select the transaction in which a sessions.read or sessions.executeSql call runs.
See TransactionOptions for more information about transactions.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field selector. If no fields are set, the default is a single use transaction with strong concurrency. selector can be only one of the following: |
|
singleUse |
Execute the read or SQL query in a temporary transaction. This is the most efficient way to execute a transaction that consists of a single SQL query. |
id |
Execute the read or SQL query in a previously-started transaction. A base64-encoded string. |
begin |
Begin a new transaction and execute this read or SQL query in it. The transaction ID of the new transaction is returned in |