google_api_firestore v0.11.0 GoogleApi.Firestore.V1.Model.TransactionOptions View Source

Options for creating a new transaction.

Attributes

  • readOnly (type: GoogleApi.Firestore.V1.Model.ReadOnly.t, default: nil) - The transaction can only be used for read operations.
  • readWrite (type: GoogleApi.Firestore.V1.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

Link to this type

t()

View Source
t() :: %GoogleApi.Firestore.V1.Model.TransactionOptions{
  readOnly: GoogleApi.Firestore.V1.Model.ReadOnly.t(),
  readWrite: GoogleApi.Firestore.V1.Model.ReadWrite.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.