不要怂,就是干,撸起袖子干!

Commit bafe2b77 by Jumpei Ogawa

[Document] Fix wrong return value of transaction.commit and .rollback

1 parent b76f03f3
Showing with 2 additions and 2 deletions
...@@ -122,7 +122,7 @@ Transaction.LOCK = Transaction.prototype.LOCK = { ...@@ -122,7 +122,7 @@ Transaction.LOCK = Transaction.prototype.LOCK = {
/** /**
* Commit the transaction * Commit the transaction
* *
* @return {this} * @return {Promise}
*/ */
Transaction.prototype.commit = function() { Transaction.prototype.commit = function() {
var self = this; var self = this;
...@@ -145,7 +145,7 @@ Transaction.prototype.commit = function() { ...@@ -145,7 +145,7 @@ Transaction.prototype.commit = function() {
/** /**
* Rollback (abort) the transaction * Rollback (abort) the transaction
* *
* @return {this} * @return {Promise}
*/ */
Transaction.prototype.rollback = function() { Transaction.prototype.rollback = function() {
var self = this; var self = this;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!