Permalink
Browse files

fixed; selection of _id w excluded path

closes #954 in 2.x branch
  • Loading branch information...
1 parent e5e01ad commit 4286fa243a33ca9c36feb5135257986a834f130d @aheckmann aheckmann committed Jun 7, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/query.js
View
1 lib/query.js
@@ -290,7 +290,6 @@ Query.prototype._applyPaths = function applyPaths () {
ki = keys.length;
while (ki--) {
- if ('_id' == keys[ki]) continue;
exclude = 0 === fields[keys[ki]];
break;
}

0 comments on commit 4286fa2

Please sign in to comment.