Browse Source

Refs #2061. mungedb-aggregate cannot group on _id:null .

Charles Ezell 12 years ago
parent
commit
cf9e54e10d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/pipeline/documentSources/GroupDocumentSource.js

+ 1 - 0
lib/pipeline/documentSources/GroupDocumentSource.js

@@ -78,6 +78,7 @@ var GroupDocumentSource = module.exports = (function(){
 
                         idSet = true;
 					}else{
+						//! @todo: _getTypeStr() breaks when trying to group on _id:null.
 						var typeStr = group._getTypeStr(groupField);
 						switch(typeStr){
 							case "number":