npm.io
2.0.0 • Published 11 years ago

to-mongodb-core

Licence
MIT
Version
2.0.0
Deps
0
Vulns
0
Weekly
0
Stars
1

to-mongodb-core

build status

Gets the underlying mongodb-core instance in the mongojs instance.

Usage

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.
});

License

MIT