google_api_spanner v0.9.0 GoogleApi.Spanner.V1.Model.Type 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

Link to this type

t()

View Source
t() :: %GoogleApi.Spanner.V1.Model.Type{
  arrayElementType: GoogleApi.Spanner.V1.Model.Type.t(),
  code: String.t(),
  structType: GoogleApi.Spanner.V1.Model.StructType.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.