Skip to content

Instantly share code, notes, and snippets.

Avatar

Abhishek Hingnikar darkyen

View GitHub Profile
@darkyen
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(
'127.0.0.1',
You can’t perform that action at this time.