google_api_spanner v0.0.1 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): If code == ARRAY, then `array_element_type` is the type of the array elements. Defaults to: null.
  • code (String): Required. The TypeCode for this type. Defaults to: null.

    • Enum - one of [TYPE_CODE_UNSPECIFIED, BOOL, INT64, FLOAT64, TIMESTAMP, DATE, STRING, BYTES, ARRAY, STRUCT]
  • structType (StructType): If code == STRUCT, then `struct_type` provides type information for the struct's fields. Defaults to: null.