@maxim_mazurok/gapi.client.spanner-v1 0.0.20230920 → 0.0.20230928

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.
Files changed (3) hide show
  1. package/index.d.ts +7 -6
  2. package/package.json +1 -1
  3. package/tests.ts +3 -2
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://spanner.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230920
12
+ // Revision: 20230928
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1243,10 +1243,10 @@ declare namespace gapi.client {
1243
1243
  partitionOptions?:
1244
1244
  PartitionOptions;
1245
1245
  /**
1246
- * Required. The query request to generate partitions for. The request will fail if the query is not root partitionable. The query plan of a root partitionable query has a single
1247
- * distributed union operator. A distributed union operator conceptually divides one or more tables into multiple splits, remotely evaluates a subquery independently on each split, and
1248
- * then unions all results. This must not contain DML commands, such as INSERT, UPDATE, or DELETE. Use ExecuteStreamingSql with a PartitionedDml transaction for large,
1249
- * partition-friendly DML operations.
1246
+ * Required. The query request to generate partitions for. The request will fail if the query is not root partitionable. For a query to be root partitionable, it needs to satisfy a few
1247
+ * conditions. For example, the first operator in the query execution plan must be a distributed union operator. For more information about other conditions, see [Read data in
1248
+ * parallel](https://cloud.google.com/spanner/docs/reads#read_data_in_parallel). The query request must not contain DML commands, such as INSERT, UPDATE, or DELETE. Use
1249
+ * ExecuteStreamingSql with a PartitionedDml transaction for large, partition-friendly DML operations.
1250
1250
  */
1251
1251
  sql?:
1252
1252
  string;
@@ -3804,7 +3804,8 @@ declare namespace gapi.client {
3804
3804
  * non-atomically in an unspecified order and thus, they must be independent of each other. Partial failure is possible, i.e., some groups may have been committed successfully, while
3805
3805
  * some may have failed. The results of individual batches are streamed into the response as the batches are applied. BatchWrite requests are not replay protected, meaning that each
3806
3806
  * mutation group may be applied more than once. Replays of non-idempotent mutations may have undesirable effects. For example, replays of an insert mutation may produce an already
3807
- * exists error or result in additional rows if using generated or commit timestamp-based keys. We recommend structuring your mutation groups to be idempotent to avoid this issue.
3807
+ * exists error or if you use generated or commit timestamp-based keys, it may result in additional rows being added to the mutation's table. We recommend structuring your mutation
3808
+ * groups to be idempotent to avoid this issue.
3808
3809
  */
3809
3810
  batchWrite(request: {
3810
3811
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.spanner-v1",
3
- "version": "0.0.20230920",
3
+ "version": "0.0.20230928",
4
4
  "description": "TypeScript typings for Cloud Spanner API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230920
6
+ // Revision: 20230928
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -761,7 +761,8 @@ gapi.load('client', async () => {
761
761
  * non-atomically in an unspecified order and thus, they must be independent of each other. Partial failure is possible, i.e., some groups may have been committed successfully, while some
762
762
  * may have failed. The results of individual batches are streamed into the response as the batches are applied. BatchWrite requests are not replay protected, meaning that each mutation
763
763
  * group may be applied more than once. Replays of non-idempotent mutations may have undesirable effects. For example, replays of an insert mutation may produce an already exists error or
764
- * result in additional rows if using generated or commit timestamp-based keys. We recommend structuring your mutation groups to be idempotent to avoid this issue.
764
+ * if you use generated or commit timestamp-based keys, it may result in additional rows being added to the mutation's table. We recommend structuring your mutation groups to be idempotent
765
+ * to avoid this issue.
765
766
  */
766
767
  await gapi.client.spanner.projects.instances.databases.sessions.batchWrite({
767
768
  session: "Test string",