pavelvlasov / koa-generic-session-mongo

MongoDB store for koa-session middleware backed by node-mongodb-native.
MIT License
37 stars 16 forks source link

url and db are exclusive #3

Closed domarmstrong closed 9 years ago

domarmstrong commented 9 years ago

Maybe worth noting in the docs that the url and db args are exclusive, even throw an error if both are provided. I had been using url: 'mongodb://127.0.0.1:27017', db: 'mydb' and getting admin db used, which was pretty unclear.