@google-cloud/spanner 6.1.4 → 6.3.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.
- package/CHANGELOG.md +29 -0
- package/README.md +4 -0
- package/build/protos/google/spanner/admin/instance/v1/common.proto +42 -0
- package/build/protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto +494 -41
- package/build/protos/google/spanner/v1/type.proto +8 -0
- package/build/protos/protos.d.ts +1091 -69
- package/build/protos/protos.js +3648 -1112
- package/build/protos/protos.json +312 -1
- package/build/src/index.d.ts +206 -0
- package/build/src/index.js +110 -1
- package/build/src/instance-config.d.ts +294 -0
- package/build/src/instance-config.js +216 -0
- package/build/src/v1/database_admin_client.d.ts +11 -4
- package/build/src/v1/database_admin_client.js +111 -74
- package/build/src/v1/gapic_metadata.json +44 -0
- package/build/src/v1/instance_admin_client.d.ts +514 -22
- package/build/src/v1/instance_admin_client.js +378 -44
- package/build/src/v1/instance_admin_client_config.json +16 -0
- package/build/src/v1/instance_admin_proto_list.json +1 -0
- package/build/src/v1/spanner_client.d.ts +10 -3
- package/build/src/v1/spanner_client.js +68 -43
- package/package.json +10 -10
|
@@ -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
|
}
|