mongojs
mongojs copied to clipboard
Node.js module that implements the offical mongo api
`official` is misspelled in the repository GitHub description 
Sometimes, collection name may not be in camelCase, it would be great if a mapping could be provided. Allow object to be passed, e.g. ``` js var db = mongojs('mydb',...
I was expecting the 2nd argument to the callback to be the newly created or updated doc, but there is no 2nd argument: I'm coming from nedb which supposedly has...
Hi, Thanks for the great work. And do you have any plan for the GridFS support? If not, then how can I work with GridFS ?
Hi I am using mongodb version 3.0.7 and v2.4.0 of mongojs. ``` // Fetch from database db.products.find($query).sort(options.sort).skip(options.skip).limit(options.limit, function(err, docs){ if(err){ res.status(500).end(); } else if(_.isEmpty(docs)){ res.status(204).end(); } else{ res.json(docs); } });...
- Bulk.find.replaceOne() - see http://docs.mongodb.org/manual/reference/method/Bulk.find.replaceOne/#Bulk.find.replaceOne - Bulk.find.upsert() - see #213 - Bulk.getOperations() - see http://docs.mongodb.org/manual/reference/method/Bulk.getOperations/#Bulk.getOperations - Bulk.toString() - see http://docs.mongodb.org/manual/reference/method/Bulk.toString/#Bulk.toString
``` node: 0.10.26 mongojs: 2.3.0 mongodb-core: 1.3.13 MongoDB database: v3.2.1 Web host: heroku ``` I'm using mongojs to connect to a db: ``` var connectionString = "mongodb://username:[email protected]:00000,aws-us-east-1-portal.3.dblayer.com:00000/dbname?ssl=true"; var options =...