GoogleApi.Spanner.V1.Model.Field (google_api_spanner v0.48.0)
View SourceMessage representing a single field of a struct.
Attributes
-
name
(type:String.t
, default:nil
) - 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. -
type
(type:GoogleApi.Spanner.V1.Model.Type.t
, default:nil
) - The type of the field.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Spanner.V1.Model.Field{ name: String.t() | nil, type: GoogleApi.Spanner.V1.Model.Type.t() | nil }