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())
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())