Skip to content

Commit

Permalink
fixed; selection of _id w excluded path
Browse files Browse the repository at this point in the history
closes #954 in 2.x branch
  • Loading branch information
aheckmann committed Jun 7, 2012
1 parent e5e01ad commit 4286fa2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/query.js
Expand Up @@ -290,7 +290,6 @@ Query.prototype._applyPaths = function applyPaths () {
ki = keys.length; ki = keys.length;


while (ki--) { while (ki--) {
if ('_id' == keys[ki]) continue;
exclude = 0 === fields[keys[ki]]; exclude = 0 === fields[keys[ki]];
break; break;
} }
Expand Down

0 comments on commit 4286fa2

Please sign in to comment.