Skip to content

Commit

Permalink
Merge pull request #155 from proppy/fix-doc
Browse files Browse the repository at this point in the history
datastore/dataset: fix docstring for runInTransaction
  • Loading branch information
Burcu Dogan committed Aug 30, 2014
2 parents 240a3e6 + 0890a01 commit bac5d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datastore/dataset.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ Dataset.prototype.runQuery = function(q, callback) {
* @param {function} callback - The callback function.
*
* @example
* dataset.transaction(function(transaction, done) {
* dataset.runInTransaction(function(transaction, done) {
* // From the `transaction` object, execute dataset methods as usual.
* // Call `done` when you're ready to commit all of the changes.
* transaction.get(dataset.key('Company', 123), function(err, entity) {
Expand Down

0 comments on commit bac5d90

Please sign in to comment.