View Source GoogleApi.Datastore.V1.Model.TransactionOptions (google_api_datastore v0.22.0)
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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Datastore.V1.Model.TransactionOptions{ readOnly: GoogleApi.Datastore.V1.Model.ReadOnly.t() | nil, readWrite: GoogleApi.Datastore.V1.Model.ReadWrite.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.