View Source GoogleApi.Firestore.V1.Model.Order (google_api_firestore v0.26.0)

An order on a field.

Attributes

  • direction (type: String.t, default: nil) - The direction to order by. Defaults to ASCENDING.
  • field (type: GoogleApi.Firestore.V1.Model.FieldReference.t, default: nil) - The field to order by.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Firestore.V1.Model.Order{
  direction: String.t() | nil,
  field: GoogleApi.Firestore.V1.Model.FieldReference.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.