google_api_spanner v0.2.0 GoogleApi.Spanner.V1.Model.Field View Source
Message representing a single field of a struct.
Attributes
- name (String.t): The name of the field. For reads, this is the column name. For SQL queries, it is the column alias (e.g., `"Word"` in the query `"SELECT 'hello' AS Word"`), or the column name (e.g., `"ColName"` in the query `"SELECT ColName FROM Table"`). Some columns might have an empty name (e.g., !"SELECT UPPER(ColName)"`). Note that a query result can contain multiple fields with the same name. Defaults to:
null
. - type (Type): The type of the field. Defaults to:
null
.
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.Field{ name: any(), type: GoogleApi.Spanner.V1.Model.Type.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.