Skip to content

Instantly share code, notes, and snippets.


Abhishek Hingnikar darkyen

View GitHub Profile
darkyen / app.js
Created Aug 8, 2012
readReference error with node-mongodb-native
View app.js
var mongodb = require( 'mongodb' ),
Server = mongodb.Server,
Db = mongodb.Db,
MongoModule = {};
MongoModule.setup = function() {
// Initialize the db connection
var client = new Db( 'tartempion',
new Server(
You can’t perform that action at this time.