Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #10 from wision/mongodb-version

Revert mongodb back to 1.x.x
  • Loading branch information...
commit 6e70849167caedb2ac15d21ca1d76e2aa725d8ae 2 parents 4dd4855 + 0659654
@zzdhidden authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  lib/mongoq.js
  2. +2 −2 package.json
View
2  lib/mongoq.js
@@ -151,7 +151,7 @@ function mongoq( dbnameOrUrl, options ) {
for( var key in options ) {
op[ key ] = options[ key ];
}
- server = new mongodb.ReplSet(servers, op);
+ server = new mongodb.ReplSetServers(servers, op);
}
/** auth */
View
4 package.json
@@ -1,6 +1,6 @@
{
"name": "mongoq"
- , "version": "0.2.4"
+ , "version": "0.2.5"
, "description": "Use mongoDB like this: require('mongoq')('testdb').collection('users').find(function(err, cursor){});"
, "keywords": ["mongodb", "mongoq", "data", "datastore", "nosql"]
, "author" : "Hidden <zzdhidden@gmail.com>"
@@ -9,7 +9,7 @@
"url" : "http://github.com/zzdhidden/mongoq.git"
}
, "dependencies": {
- "mongodb" : "^2.0.23"
+ "mongodb" : "^1.4.35"
, "jquery-deferred": "^0.2.0"
}
, "devDependencies": {
Please sign in to comment.
Something went wrong with that request. Please try again.