sequelize/express-example — pull request #12 by apapap (2014-12-07 22:38:54+00:00)
Title: Use Promises instead of EventEmitter for handling return results

I thought I'd go ahead and do it. :)

Return results now use core Promise methods rather than the EventEmitter methods from Sequelize. The latter are now deprecated with Sequelize version 2.0. E.g. .success is replaced by .then. For more info about the Sequelize upgrade see: https://github.com/sequelize/sequelize/wiki/Upgrading-to-2.0

FYI, Sequelize now uses the BlueBird Promises library. For info on that, see: https://github.com/petkaantonov/bluebird

Note that this project is an example of using Sequelize with Express. There's currently minimal handling of rejection return results and other errors.