to-mongodb-core

2.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i to-mongodb-core

Weekly Downloads

4,717

Version

2.0.0

License

MIT

Last publish

Collaborators

  • sorribas