masylum/connect-mongodb — Issue #47: Why is the session stringified?
Author: niftylettuce
Created: 2012-02-13 15:47:30+00:00
State: open

https://github.com/masylum/connect-mongodb/blob/master/lib/connect-mongodb.js#L140

this prevents us using Mongoose to recreate the db schema, and then try a query like this...

```bash
db.model('Sessions').find({"session._csrf":"boiajwofijaweifj"});
```

^ won't work since the data in DB is a string vs JSON