Skip to content

Instantly share code, notes, and snippets.

@s9tpepper
Created July 9, 2011 22:57
Show Gist options
  • Save s9tpepper/1074029 to your computer and use it in GitHub Desktop.
Save s9tpepper/1074029 to your computer and use it in GitHub Desktop.
Creating a Mongo object
/* Creating a Mongo object requires you have the
domain to your mongodb server and the port number,
the default is 27017.*/
var mongo:Mongo = new Mongo("your.mongo.com", 27017);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment