google_api_firestore v0.9.0 GoogleApi.Firestore.V1beta1.Model.WriteResult View Source

The result of applying a write.

Attributes

  • transformResults (type: list(GoogleApi.Firestore.V1beta1.Model.Value.t), default: nil) - The results of applying each DocumentTransform.FieldTransform, in the same order.
  • updateTime (type: DateTime.t, default: nil) - The last update time of the document after applying the write. Not set after a delete.

    If the write did not actually change the document, this will be the previous update_time.

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.V1beta1.Model.WriteResult{
  transformResults: [GoogleApi.Firestore.V1beta1.Model.Value.t()],
  updateTime: DateTime.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.