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

Commit a0e90292 by Jan Aagaard Meier

[ci skip] Clarify how sequelize.Promise works with other a+/promise libs

1 parent fce6b291
Showing with 3 additions and 0 deletions
......@@ -15,6 +15,9 @@ var Promise = require('bluebird/js/main/promise')() // use this syntax to be abl
* A slightly modified version of bluebird promises. This means that, on top of the methods below, you can also call all the methods listed on the link below.
*
* The main difference is that sequelize promises allows you to attach a listener that will be called with the generated SQL, each time a query is run.
*
* The sequelize promise class works seamlessly with other A+/thenable libraries, with one exception.
* If you want to propagate SQL events across `then`, `all` calls etc., you must use sequelize promises exclusively.
*
* @mixes https://github.com/petkaantonov/bluebird/blob/master/API.md
* @class Promise
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!