From 0890a017cc6a9d4b5bccc8b02ff148ca24490cd6 Mon Sep 17 00:00:00 2001 From: Johan Euphrosine Date: Fri, 29 Aug 2014 17:20:00 -0700 Subject: [PATCH] datastore/dataset: fix docstring for runInTransaction --- lib/datastore/dataset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/datastore/dataset.js b/lib/datastore/dataset.js index efebe244eba..d5a8c48f40c 100644 --- a/lib/datastore/dataset.js +++ b/lib/datastore/dataset.js @@ -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) {