Pinned Loading
-
-
Function that creates a MongoDB data...
Function that creates a MongoDB database. It authenticates a db user or creates one if it doesn't exist 1function createMongoDb(callback) {
2var Db = require('mongodb').Db;
3var Server = require('mongodb').Server;
4var dbName = 'testdb', dbHost = 'localhost', dbPort = '27017';
5var dbUser = 'testuser', dbPassword = 'testpassword';
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.