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

Commit 5858e027 by Jan Aagaard Meier

Merge pull request #4246 from phanect/transaction-doc-fix

[ci skip] 📝 Transaction document fix
2 parents b76f03f3 bafe2b77
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!