TypeCode
class TypeCode
TypeCode
is used as part of [Type][google.spanner.v1.Type] to
indicate the type of a Cloud Spanner value.
Each legal value of a type can be encoded to or decoded from a JSON
value, using the encodings described below. All Cloud Spanner values can
be null
, regardless of type; null
s are always encoded as a JSON
null
.
Protobuf enum Google\Spanner\V1\TypeCode
Constants
TYPE_CODE_UNSPECIFIED |
Not specified. Generated from protobuf enum |
BOOL |
Encoded as JSON Generated from protobuf enum |
INT64 |
Encoded as Generated from protobuf enum |
FLOAT64 |
Encoded as Generated from protobuf enum |
TIMESTAMP |
Encoded as Generated from protobuf enum |
DATE |
Encoded as Generated from protobuf enum |
STRING |
Encoded as Generated from protobuf enum |
BYTES |
Encoded as a base64-encoded Generated from protobuf enum |
PBARRAY |
Encoded as Generated from protobuf enum |
STRUCT |
Encoded as Generated from protobuf enum |