Class Field (3.22.0)

Field(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message representing a single field of a struct.

Attributes

NameDescription
name str
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_ google.cloud.spanner_v1.types.Type
The type of the field.

Inheritance

builtins.object > proto.message.Message > Field