I'm trying to use an existing mongodb connection but passing the db object in config won't work.
db - The MongoDB connection string (e.g. mongodb://localhost:27017/events) or database object
Looking at the code (sync.js) it seems there is only connection string handling implemented...
One solution would be to just make the mongodb module importable or add database object handling.
I'm trying to use an existing mongodb connection but passing the db object in config won't work.
Looking at the code (sync.js) it seems there is only connection string handling implemented... One solution would be to just make the mongodb module importable or add database object handling.
Or did I miss something? :/