View Source GoogleApi.Firestore.V1.Model.Projection (google_api_firestore v0.27.0)

The projection of document's fields to return.

Attributes

  • fields (type: list(GoogleApi.Firestore.V1.Model.FieldReference.t), default: nil) - The fields to return. If empty, all fields are returned. To only return the name of the document, use ['__name__'].

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Firestore.V1.Model.Projection{
  fields: [GoogleApi.Firestore.V1.Model.FieldReference.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.