@ -165,6 +165,7 @@ exports.connect = function(url, collections) {
function(next) {
var client = new mongo.Db(url.db, new mongo.Server(url.host, url.port, {auto_reconnect:true}));
that.client = client;
that.bson = {
Long: client.bson_serializer.Long,
ObjectID: client.bson_serializer.ObjectID,
@ -2,7 +2,7 @@
"name":"mongojs",
"description":"a simple mongo module that implements the mongo api",
"keywords": ["mongo", "db", "mongodb"],
"version":"0.3.1",
"version":"0.3.2",
"homepage" : "https://github.com/gett/mongojs",
"author": "Ge.tt <hello@ge.tt>",
"contributors": [