Skip to content

Commit 5fb7905

Browse files
Update database.js
1 parent b900f6c commit 5fb7905

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/spanner/src/database.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,9 @@ Database.prototype.runStream = function(query, options) {
787787
* atomically at a single logical point in time across columns, rows, and tables
788788
* in a database.
789789
*
790-
* Note that Cloud Spanner does not support nested transactions.
790+
* Note that Cloud Spanner does not support nested transactions. If a new
791+
* transaction is started inside of the run function, it will be an independent
792+
* transaction.
791793
*
792794
* The callback you provide to this function will become the "run function". It
793795
* will be executed with either an error or a {module:spanner/transaction}

0 commit comments

Comments
 (0)