Skip to content

spanner: make getTransaction public#2344

Merged
stephenplusplus merged 2 commits intogoogleapis:masterfrom
callmehiphop:dg--spanner-txn-promises
Jun 26, 2017
Merged

spanner: make getTransaction public#2344
stephenplusplus merged 2 commits intogoogleapis:masterfrom
callmehiphop:dg--spanner-txn-promises

Conversation

@callmehiphop
Copy link
Copy Markdown
Contributor

Closes #2152

@callmehiphop callmehiphop added the api: spanner Issues related to the Spanner API. label May 31, 2017
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 31, 2017
@bjwatson bjwatson requested a review from vkedia May 31, 2017 21:30
@bjwatson
Copy link
Copy Markdown

Thanks @callmehiphop! Adding @vkedia as a reviewer, since he understands this code better than I do.

@bjwatson bjwatson requested a review from swcloud May 31, 2017 21:31
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 99.988% when pulling 45bbb6f on callmehiphop:dg--spanner-txn-promises into 748816f on GoogleCloudPlatform:master.

Comment thread packages/spanner/src/database.js Outdated
* 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.

Comment thread packages/spanner/src/database.js Outdated
/**
* Get a read/write ready Transaction object.
*
* @param {object=} options - Transaction options.

This comment was marked as spam.

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.

This comment was marked as spam.

This comment was marked as spam.

@bjwatson
Copy link
Copy Markdown

@callmehiphop Can you close this out this week?

@callmehiphop
Copy link
Copy Markdown
Contributor Author

@bjwatson yes! Sorry, I've been side tracked by other things.

@bjwatson
Copy link
Copy Markdown

Thanks @callmehiphop!

@bjwatson
Copy link
Copy Markdown

@swcloud FYI, we want to get this done this week.

@callmehiphop
Copy link
Copy Markdown
Contributor Author

@stephenplusplus @vkedia this should be good to go now!

Copy link
Copy Markdown
Contributor

@stephenplusplus stephenplusplus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


/**
* Get a read/write ready Transaction object.
*

This comment was marked as spam.

This comment was marked as spam.

@stephenplusplus stephenplusplus merged commit ca0d96c into googleapis:master Jun 26, 2017
sofisl pushed a commit that referenced this pull request Feb 25, 2026
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
sofisl pushed a commit that referenced this pull request Feb 26, 2026
sofisl pushed a commit that referenced this pull request Feb 26, 2026
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>
thiyaguk09 pushed a commit to thiyaguk09/google-cloud-node-fork that referenced this pull request Mar 18, 2026
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spanner Issues related to the Spanner API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants