title: how to check if value in mongodb is same value
body: <p>I want to check value is same external value with mongodb aggregation.I want to use aggregation method find result. Thank you very much.    </p>
  
  <pre><code>var id = 5995cc31f36d28126e46e670
  
  { _id: 5995cc31f36d28126e46e670,
    income: [ '23', '23', '232', '', '', '', '' ],
    incomedetail: [ '23', '23', 'ew', '', '', '', '' ],
     outcome: [ '23', '23', '43', '', '', '', '' ],
     outcomedetail: [ '23', '23', 'fsdf', '', '', '', '' ],
    date:
      [ '2017-08-18',
       '2017-08-18',
       '2017-08-17',
       '2017-08-11',
       '2017-08-26',
       '2017-08-26',
       '11/02/2345' ] }
  { _id: 5995d9f8f36d28126e46ed17,
    income: [ '', '', '' ],
    incomedetail: [ '', '', '' ],
    outcome: [ '40', '40', '72' ],
    outcomedetail: [ '23', '32', '32' ],
    date: [ '2017-08-18', '2017-08-18', '2017-08-18' ] }
  </code></pre>
  
  <p>output</p>
  
  <pre><code>{ _id: 5995cc31f36d28126e46e670,
    income: [ '23', '23', '232', '', '', '', '' ],
    incomedetail: [ '23', '23', 'ew', '', '', '', '' ],
     outcome: [ '23', '23', '43', '', '', '', '' ],
     outcomedetail: [ '23', '23', 'fsdf', '', '', '', '' ],
    date:
      [ '2017-08-18',
       '2017-08-18',
       '2017-08-17',
       '2017-08-11',
       '2017-08-26',
       '2017-08-26',
       '11/02/2345' ] }
  </code></pre>