Type
import type { Type } from "https://googleapis.deno.dev/v1/spanner:v1.ts";
Type
indicates the type of a Cloud Spanner value, as might be stored in a
table cell or returned from an SQL query.
§Properties
Required. The TypeCode for this type.
If code == PROTO or code == ENUM, then proto_type_fqn
is the fully
qualified name of the proto type representing the proto/enum definition.
If code == STRUCT, then struct_type
provides type information for the
struct's fields.
The TypeAnnotationCode that disambiguates SQL type that Spanner will use to represent values of this type during query processing. This is necessary for some type codes because a single TypeCode can be mapped to different SQL types depending on the SQL dialect. type_annotation typically is not needed to process the content of a value (it doesn't affect serialization) and clients can ignore it on the read path.