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

Type indicates the type of a Cloud Spanner value, as might be stored in a table cell or returned from an SQL query.

Attributes

  • arrayElementType (type: GoogleApi.Spanner.V1.Model.Type.t, default: nil) - If code == ARRAY, then array_element_type is the type of the array elements.
  • code (type: String.t, default: nil) - Required. The TypeCode for this type.
  • structType (type: GoogleApi.Spanner.V1.Model.StructType.t, default: nil) - If code == STRUCT, then struct_type provides type information for the struct's fields.

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.Type{
  arrayElementType: GoogleApi.Spanner.V1.Model.Type.t() | nil,
  code: String.t() | nil,
  structType: GoogleApi.Spanner.V1.Model.StructType.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.