connect-bookshelf
v0.0.4
Published
Connect session store using Bookshelf.js
Downloads
2
Readme
connect-bookshelf
connect-bookshelf is a session store for express/connect using Bookshelf.js
Usage
var express = require('express'),
session = require('express-session'),
BookshelfStore = require('connect-bookshelf')(session);
app = express();
app.use(session({
store: new BookshelfStore({model: aBookshelfModel}),
secret: 's3cr3t'
}));
Where aBookshelfModel
is a model with columns something like:
id
, integer, primarykeysid
, string, uniquedata
, string