connect-session-sequelize is a SQL session store using Sequelize.js.
Please note that the most recent version requires express 4. If you use express 3 you should install version 0.0.5 and follow the instructions in the previous README.
$ npm install connect-session-sequelize
db
a successfully connected Sequelize instance
var connect = require('connect')
// for express, just call it with 'require('express-session').Store'
, SequelizeStore = require('connect-session-sequelize')(connect.session.Store);
connect().use(connect.session({
store: new SequelizeStore(options)
, secret: 'CHANGEME'
}));
MIT