Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 10th, 2012  |  syntax: JavaScript  |  size: 0.18 KB  |  views: 171  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. var Db = require('mongodb').Db,
  2.     Server = require('mongodb').Server;
  3.  
  4. var db = exports = module.exports = new Db('foobar', new Server('10.0.2.15', 27017, {}), {native_parser: false});