Using Sequelize with Promises (with and without Q)

Using Sequelize with Promises (with and without Q)

Here is a basic example of using Sequelize with promises using the Q Promises library.

https://gist.github.com/omouse/9401609

Q is basically a way for you to use Promises in Node.js. You can use it with Sequelize to make it easier to perform the SQL operations through the library.