Skip to content

Commit

Permalink
Notice for find.each
Browse files Browse the repository at this point in the history
  • Loading branch information
arronzhang committed Dec 9, 2011
1 parent 25683d1 commit 0d18770
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ MongoQ introduce into jQuery Deferred since v0.2, you can find more documents ab

MongoQ make all mongodb asynchronous processes to return with a Promise Object.

*Notice*: Please don't use `find().each().done(...`, the callbacks will be called only once.

> var mongoq = require("mongoq");
> var db = mongoq("mongodb://localhost/testdb");
> var users = db.collection("users");
Expand Down

0 comments on commit 0d18770

Please sign in to comment.