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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.