google_api_spanner v0.6.0 GoogleApi.Spanner.V1.Model.TransactionSelector View Source
This message is used to select the transaction in which a Read or ExecuteSql call runs.
See TransactionOptions for more information about transactions.
Attributes
begin
(type:GoogleApi.Spanner.V1.Model.TransactionOptions.t
, default:nil
) - Begin a new transaction and execute this read or SQL query in it. The transaction ID of the new transaction is returned in ResultSetMetadata.transaction, which is a Transaction.id
(type:String.t
, default:nil
) - Execute the read or SQL query in a previously-started transaction.singleUse
(type:GoogleApi.Spanner.V1.Model.TransactionOptions.t
, default:nil
) - 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.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Spanner.V1.Model.TransactionSelector{
begin: GoogleApi.Spanner.V1.Model.TransactionOptions.t(),
id: String.t(),
singleUse: GoogleApi.Spanner.V1.Model.TransactionOptions.t()
}
t() :: %GoogleApi.Spanner.V1.Model.TransactionSelector{ begin: GoogleApi.Spanner.V1.Model.TransactionOptions.t(), id: String.t(), singleUse: GoogleApi.Spanner.V1.Model.TransactionOptions.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.