Permalink
Browse files

Update Readme.md

  • Loading branch information...
JoshuaGross committed Oct 15, 2012
1 parent 0549ae9 commit f409e0ecd1801498373b8b8cd1ff4636bc245e15
Showing with 1 addition and 1 deletion.
  1. +1 −1 Readme.md
View
@@ -6,7 +6,7 @@ Mongoose-subpopulate was created for my needs on SpanDeX.io. It's monkey-patch o
It allows you to do this:
m.User.find({}).populate('best_friend').populate('best_friend.best_friend').exec(function (err, result) {
- console.log('My BFF\'s BFF: ', result.best_friend.best_friend.username);
+ console.log("My BFF's BFF: ", result.best_friend.best_friend.username);
});
Mongoose-subpopulate also allows you to ignore "err" in your callbacks:

0 comments on commit f409e0e

Please sign in to comment.