Repository navigation
Transaction Documentation #623
Copy link
Copy link
Closed
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.
Milestone
Description
Activity
- addedapi: datastoreIssues related to the Datastore API.Issues related to the Datastore API.
on May 22, 2015 Ohhh snap, this clears things up a lot!!! Thanks!!!
Yeah these should be private.
Oooh I'll address these in #627
- added 2 commits that reference this issue
on Jan 10, 2023 - added a commit that references this issue
on Jul 23, 2025 - added 5 commits that reference this issue
on Jan 27, 2026 - added a commit that references this issue
on Jan 28, 2026 - added a commit that references this issue
on Feb 17, 2026 - added a commit that references this issue
on Mar 12, 2026
Metadata
Metadata
Assignees
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.
Related: #621
Should we privatize
transaction#beginandtransaction#commit, removing them from the public docs and their usage in other Transaction examples?A user goes through their Dataset instance to get a Transaction:
This calls
transaction.beginimmediately, and thedonefunction returned to their callback is actuallytransaction.commit.Having these methods appear in the docs is probably quite confusing, as the user shouldn't need (or be able to) begin a transaction that already began, or commit the transaction before calling
done(commit) again.