spanner: make getTransaction public#2344
spanner: make getTransaction public#2344stephenplusplus merged 2 commits intogoogleapis:masterfrom callmehiphop:dg--spanner-txn-promises
Conversation
|
Thanks @callmehiphop! Adding @vkedia as a reviewer, since he understands this code better than I do. |
| * Get a read/write ready Transaction object. | ||
| * | ||
| * @param {object=} options - Transaction options. | ||
| * @param {boolean} options.readOnly - Specifies if the transaction is read |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| /** | ||
| * Get a read/write ready Transaction object. | ||
| * | ||
| * @param {object=} options - Transaction options. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| var transaction = self.pool_.createTransaction_(session, options); | ||
|
|
||
| transaction.begin(function(err) { | ||
| if (err) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
@callmehiphop Can you close this out this week? |
|
@bjwatson yes! Sorry, I've been side tracked by other things. |
|
Thanks @callmehiphop! |
|
@swcloud FYI, we want to get this done this week. |
|
@stephenplusplus @vkedia this should be good to go now! |
|
|
||
| /** | ||
| * Get a read/write ready Transaction object. | ||
| * |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Source-Link: googleapis/synthtool@1218bc2 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:66c44f0ad8f6caaa4eb3fbe74f8c2b4de5a97c2b930cee069e712c447723ba95 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Closes #2152