Skip to content

Instantly share code, notes, and snippets.

@danared
Created April 2, 2015 16:07
Show Gist options
  • Save danared/730f40f61393127d3e13 to your computer and use it in GitHub Desktop.
Save danared/730f40f61393127d3e13 to your computer and use it in GitHub Desktop.
var client = new MongoClient("mongodb://localhost");
var database = client.GetDatabase("test"); // this database uses the new API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment