You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6
Original file line number
Diff line number
Diff line change
@@ -161,6 +161,9 @@ Samples are in the [`samples/`](https://github.com/googleapis/nodejs-spanner/tre
161
161
| Showcases how a Spanner PostgreSQL database orders null values in a query. |[source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/pg-ordering-nulls.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/pg-ordering-nulls.js,samples/README.md)|
162
162
| Execute a query with parameters on a Spanner PostgreSQL database. |[source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/pg-query-parameter.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/pg-query-parameter.js,samples/README.md)|
163
163
| Query the information schema metadata in a Spanner PostgreSQL database. |[source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/pg-schema-information.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/pg-schema-information.js,samples/README.md)|
164
+
| Alters a sequence in a PostgreSQL database. |[source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/pg-sequence-alter.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/pg-sequence-alter.js,samples/README.md)|
165
+
| Creates sequence in PostgreSQL database. |[source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/pg-sequence-create.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/pg-sequence-create.js,samples/README.md)|
166
+
| Drops a sequence in PostgreSQL database. |[source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/pg-sequence-drop.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/pg-sequence-drop.js,samples/README.md)|
164
167
| Queryoptions |[source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/queryoptions.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/queryoptions.js,samples/README.md)|
165
168
| Quickstart |[source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/quickstart.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/quickstart.js,samples/README.md)|
166
169
| Read data with database role |[source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/read-data-with-database-role.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/read-data-with-database-role.js,samples/README.md)|
@@ -172,6 +175,9 @@ Samples are in the [`samples/`](https://github.com/googleapis/nodejs-spanner/tre
172
175
| Query data with RPC Priority |[source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/rpc-priority-run.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/rpc-priority-run.js,samples/README.md)|
173
176
| Run transaction with RPC priority |[source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/rpc-priority-transaction.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/rpc-priority-transaction.js,samples/README.md)|
174
177
| Schema |[source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/schema.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/schema.js,samples/README.md)|
178
+
| Alters a sequence in a GoogleSQL database. |[source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/sequence-alter.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/sequence-alter.js,samples/README.md)|
179
+
| Creates sequence in GoogleSQL database. |[source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/sequence-create.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/sequence-create.js,samples/README.md)|
180
+
| Drops a sequence in GoogleSQL database. |[source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/sequence-drop.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/sequence-drop.js,samples/README.md)|
175
181
| Struct |[source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/struct.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/struct.js,samples/README.md)|
176
182
| Alters a table with foreign key delete cascade action |[source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/table-alter-with-foreign-key-delete-cascade.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/table-alter-with-foreign-key-delete-cascade.js,samples/README.md)|
177
183
| Creates a table with foreign key delete cascade action |[source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/table-create-with-foreign-key-delete-cascade.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/table-create-with-foreign-key-delete-cascade.js,samples/README.md)|
Copy file name to clipboardExpand all lines: samples/README.md
+108
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,9 @@ and automatic, synchronous replication for high availability.
86
86
*[Showcases how a Spanner PostgreSQL database orders null values in a query.](#showcases-how-a-spanner-postgresql-database-orders-null-values-in-a-query.)
87
87
*[Execute a query with parameters on a Spanner PostgreSQL database.](#execute-a-query-with-parameters-on-a-spanner-postgresql-database.)
88
88
*[Query the information schema metadata in a Spanner PostgreSQL database.](#query-the-information-schema-metadata-in-a-spanner-postgresql-database.)
89
+
*[Alters a sequence in a PostgreSQL database.](#alters-a-sequence-in-a-postgresql-database.)
90
+
*[Creates sequence in PostgreSQL database.](#creates-sequence-in-postgresql-database.)
91
+
*[Drops a sequence in PostgreSQL database.](#drops-a-sequence-in-postgresql-database.)
89
92
*[Queryoptions](#queryoptions)
90
93
*[Quickstart](#quickstart)
91
94
*[Read data with database role](#read-data-with-database-role)
@@ -97,6 +100,9 @@ and automatic, synchronous replication for high availability.
97
100
*[Query data with RPC Priority](#query-data-with-rpc-priority)
98
101
*[Run transaction with RPC priority](#run-transaction-with-rpc-priority)
99
102
*[Schema](#schema)
103
+
*[Alters a sequence in a GoogleSQL database.](#alters-a-sequence-in-a-googlesql-database.)
104
+
*[Creates sequence in GoogleSQL database.](#creates-sequence-in-googlesql-database.)
105
+
*[Drops a sequence in GoogleSQL database.](#drops-a-sequence-in-googlesql-database.)
100
106
*[Struct](#struct)
101
107
*[Alters a table with foreign key delete cascade action](#alters-a-table-with-foreign-key-delete-cascade-action)
102
108
*[Creates a table with foreign key delete cascade action](#creates-a-table-with-foreign-key-delete-cascade-action)
@@ -1344,6 +1350,57 @@ __Usage:__
1344
1350
1345
1351
1346
1352
1353
+
### Alters a sequence in a PostgreSQL database.
1354
+
1355
+
View the [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/pg-sequence-alter.js).
1356
+
1357
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/pg-sequence-alter.js,samples/README.md)
View the [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/pg-sequence-create.js).
1373
+
1374
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/pg-sequence-create.js,samples/README.md)
View the [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/pg-sequence-drop.js).
1390
+
1391
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/pg-sequence-drop.js,samples/README.md)
View the [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/queryoptions.js).
@@ -1531,6 +1588,57 @@ __Usage:__
1531
1588
1532
1589
1533
1590
1591
+
### Alters a sequence in a GoogleSQL database.
1592
+
1593
+
View the [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/sequence-alter.js).
1594
+
1595
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/sequence-alter.js,samples/README.md)
View the [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/sequence-create.js).
1611
+
1612
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/sequence-create.js,samples/README.md)
View the [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/sequence-drop.js).
1628
+
1629
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/sequence-drop.js,samples/README.md)
0 commit comments