I am trying to use an aggregation command to extract a monthly summary of data. This projection works.... '$project'=>{ 'update'=> { :year =>{ "$year" => "$fcsDate" }, :month =>{ "$month" => "$fcsDate" } }, 'p...
I am trying to use an aggregation command to extract a monthly summary of data. This projection works.... '$project'=>{ 'update'=> { :year =>{ "$year" => "$fcsDate" }, :month =>{ "$month" => "$fcsDate" } }, 'projectName'=>1, 'fcsDate'=>1, }}, {"update":{"month":10,"year":2 013},"fcsDate":"2013-10-14T00: 00:00Z","_id":"519d06cf0c80e16 a3800002f","projectName":"Proj ect