Reputation: 14780
I have nodejs application with express. I store my session in mongodb. But also I store application data that I store in the same db. Should I create another mongodb database for a sessions?
Upvotes: 0
Views: 94
Reputation: 63683
You can use the same database, but have different collections (a collection in MongoDB is somehow similar with what MySQL calls table). That would be ok too.
Upvotes: 1