google_api_datastore v0.16.0 GoogleApi.Datastore.V1.Model.TransactionOptions View Source
Options for beginning a new transaction.
Transactions can be created explicitly with calls to Datastore.BeginTransaction or implicitly by setting ReadOptions.new_transaction in read requests.
Attributes
-
readOnly
(type:GoogleApi.Datastore.V1.Model.ReadOnly.t
, default:nil
) - The transaction should only allow reads. -
readWrite
(type:GoogleApi.Datastore.V1.Model.ReadWrite.t
, default:nil
) - The transaction should allow both reads and writes.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Datastore.V1.Model.TransactionOptions{ readOnly: GoogleApi.Datastore.V1.Model.ReadOnly.t(), readWrite: GoogleApi.Datastore.V1.Model.ReadWrite.t() }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.