View Source GoogleApi.Firestore.V1beta1.Model.TransactionOptions (google_api_firestore v0.27.0)

Options for creating a new transaction.

Attributes

  • readOnly (type: GoogleApi.Firestore.V1beta1.Model.ReadOnly.t, default: nil) - The transaction can only be used for read operations.
  • readWrite (type: GoogleApi.Firestore.V1beta1.Model.ReadWrite.t, default: nil) - The transaction can be used for both read and write operations.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Firestore.V1beta1.Model.TransactionOptions{
  readOnly: GoogleApi.Firestore.V1beta1.Model.ReadOnly.t() | nil,
  readWrite: GoogleApi.Firestore.V1beta1.Model.ReadWrite.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.