GoogleApi.Spanner.V1.Model.StructType (google_api_spanner v0.32.0) View Source

StructType defines the fields of a STRUCT type.

Attributes

  • fields (type: list(GoogleApi.Spanner.V1.Model.Field.t), default: nil) - The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the StructType. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the SELECT clause of a query.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Spanner.V1.Model.StructType{
  fields: [GoogleApi.Spanner.V1.Model.Field.t()] | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.