Class StructType (3.24.0)

Stay organized with collections Save and categorize content based on your preferences.
StructType(mapping=None, *, ignore_unknown_fields=False, **kwargs)

StructType defines the fields of a STRUCT][google.spanner.v1.TypeCode.STRUCT] type.


fields Sequence[]
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the SELECT clause of a query.



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

Message representing a single field of a struct.