Skip to content

Transaction docs are private but transaction object exposed through runInTransaction #205

Description

@ryanseys
dataset.runInTransaction(function(transaction, done) {
  transaction.doThis();
  transaction.doThat();
  done();
});

Don't know what methods are available on the transaction object. There's a one-liner explaining that I can use it like dataset, but would be better to explicitly list the methods especially considering somethings can only be done from dataset (e.g. allocateIds(), key())

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions