Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit a0e90292
authored
Sep 23, 2014
by
Jan Aagaard Meier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ci skip] Clarify how sequelize.Promise works with other a+/promise libs
1 parent
fce6b291
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
lib/promise.js
lib/promise.js
View file @
a0e9029
...
@@ -16,6 +16,9 @@ var Promise = require('bluebird/js/main/promise')() // use this syntax to be abl
...
@@ -16,6 +16,9 @@ var Promise = require('bluebird/js/main/promise')() // use this syntax to be abl
*
*
* 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 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
* @mixes https://github.com/petkaantonov/bluebird/blob/master/API.md
* @class Promise
* @class Promise
*/
*/
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment