title: how to check two fields having same values in same table in laravel 5 with mongodb
body: <p>I have to check the two fields having same values in same table in laravel 5. I am using Mongodb.  </p>
  
  <pre><code>{
  "id": "565d23ef5c2a4c9454355679",
  "title": "Event1",
  "summary": "test",
  "total": NumberInt(87),
  "remaining": NumberInt(87),
  "status": "1"
  }
  </code></pre>
  
  <p>I need to check "total" and "remaining" fields are same. How to write query in laravel 5.1. Please help.</p>