Gets the underlying mongodb-core instance in the passed mongodb-native or mongojs instance.
OTHER License
Gets the underlying mongodb-core instance in the mongojs instance.
var mongojs = require('mongojs');
var toMongodbCore = require('to-mongodb-core');
var db = mongojs('mydb');
toMongodbCore(db, function(err, mdbcore) {
// mdbcore is the mongodb-core server instance used.
});
MIT