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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.