score:1

You need to properly initialize (call db.open on, etc) your Mongo database connection.

docs: https://mongodb.github.io/node-mongodb-native/api-generated/db.html


Related Query

More Query from same tag