mongous
mongous copied to clipboard
Simple MongoDB driver for Node.js with jQuery like syntax.
```T var $ = require("mongous").Mongous; //var by={"_id" :$.ObjectID("5f732913000000f80c000002")}; var by={"_id" :"5f732913000000f80c000002"}; var record={"title" : "test", "url" : "www.google.com" }; $("db.tbl").update(by,record,function(err, updated){ console.log("update result"); console.log(err); console.log(updated); }) ``` no output only...
I can't connect to the mongo server with the username and password code like this: $().open(host,port); $('myDb.$cmd').auth(username,password); which dosn't work while i can connect to it successfully with mongodb://username:password@host:port/myDb with...
Is it posible to have a callback/promise to test a result? If no, any workaround? Using getlasterror is not good enough fo async call.
You do not indicate which license is mongous distributed under, making it tricky to use. Could you please assign _any_ license to it? (BSD, MIT, GPL, commercial, ...)
how can I get it?
findAndModify doesn't appear to be supported. Any plans for this?
How can I terminate the DB connection and all the instances of mongous functions?
...doesn't seem to be working. I definitely have the ID correct - I set it to be an integer - but the following code fails to remove it: ``` javascript...