@google-cloud/spanner 6.1.4 → 6.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -163,4 +163,12 @@ enum TypeAnnotationCode {
163
163
  // [NUMERIC][google.spanner.v1.TypeCode.NUMERIC] when a client interacts with PostgreSQL-enabled
164
164
  // Spanner databases.
165
165
  PG_NUMERIC = 2;
166
+
167
+ // PostgreSQL compatible JSONB type. This annotation needs to be applied to
168
+ // [Type][google.spanner.v1.Type] instances having [JSON][google.spanner.v1.TypeCode.JSON]
169
+ // type code to specify that values of this type should be treated as
170
+ // PostgreSQL JSONB values. Currently this annotation is always needed for
171
+ // [JSON][google.spanner.v1.TypeCode.JSON] when a client interacts with PostgreSQL-enabled
172
+ // Spanner databases.
173
+ PG_JSONB = 3;
166
174
  }