mweibel / connect-session-sequelize

Sequelize SessionStore for Express/Connect

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Working with Sequelize object in request

ryanburnette opened this issue · comments

If I want to work with the Sequelize object in the request, what's the best way to go about doing that?

function (req,res) {
  //session
  console.log(req.session);

  //sequelize object for that session
  ?
}

You just get back the session data, not the sequelize object.