class StructType extends Message

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

Protobuf type Google\Spanner\V1\StructType

Methods

__construct()

No description

RepeatedField
getFields()

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.

setFields(array|RepeatedField $var)

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.

Details

at line 30
__construct()

at line 46
RepeatedField getFields()

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.

Generated from protobuf field repeated .google.spanner.v1.StructType.Field fields = 1;

Return Value

RepeatedField

at line 62
setFields(array|RepeatedField $var)

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.

Generated from protobuf field repeated .google.spanner.v1.StructType.Field fields = 1;

Parameters

array|RepeatedField $var