storoge

Untitled

Apr 24th, 2017
106
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. db.claims.aggregate(
  2.     [
  3.         {
  4.             $match: {
  5.              "service.srguServicePassportId": "5000000010000047449",
  6.              "consultation" : false,
  7.              "claimCreate": { $gte: ISODate("2017-03-01T00:00:00.950+0000"), $lte: ISODate("2017-03-31T23:59:59.950+0000") }
  8.              
  9.             }
  10.         },
  11.         {
  12.             $project: {
  13.             "customClaimNumber" : 1,
  14.             "claimCreate" : 1,
  15.             "creatorDeptId" : 1,
  16.             "currStatus.statusCode" : 1    
  17.             }
  18.         },
  19.     ]
  20. );
RAW Paste Data