title: In mongoDB query with lumen : $or/$and/$nor entries need to be full objects
body: <p>In my MongoDB, I have stored value as below,</p>
  
  <pre><code>{ 
      "_id" : ObjectId("5bed3f5019f0431be000412b"), 
      "reference" : "SL2PR01MB2745E4160158C08C4B7A367285C30@SL2PR01MB2745.apcprd01.prod.exchangelabs.com,SL2PR01MB274333160158C08C4B7A367285C30@SL2PR01MB2745.apcprd01.prod.exchangelabs.com", 
      "email_thread_id" : NumberInt(5)
  }
  { 
      "_id" : ObjectId("5bed3f5019f0431be000412b"), 
      "reference" : "SL2PR01MB2745E4160158C08C4B7A364444C30@SL2PR01MB2745.apcprd01.prod.exchangelabs.com", 
      "email_thread_id" : NumberInt(6)
  }
  </code></pre>
  
  <p>My search keyword is:</p>
  
  <p><code>"SL2PR01MB2745E4160158C08C4B7A364444C30@SL2PR01MB2745.apcprd01.prod.exchangelabs.com"</code></p>
  
  <p>Which is match with second array from above JSON.</p>
  
  <p>This is my query,</p>
  
  <pre><code>$referanceId= "SL2PR01MB2745E4160158C08C4B7A364444C30@SL2PR01MB2745.apcprd01.prod.exchangelabs.com";
  $mailExists = DB::connection('mongodb')-&gt;collection('email_message')
              -&gt;select('email_thread_id');            
              if ($referanceId) {
                  $mailExists-&gt;whereRaw("find_in_set(".$referanceId.", reference)");
              }
  $query = $mailExists-&gt;first();
  </code></pre>
  
  <p>But it gives me error like below:</p>
  
  <blockquote>
    <p>ServerException in Find.php line 299:<br>
        $or/$and/$nor entries need to be full objects</p>
  </blockquote>
  
  <p>Please help me to resolve this issue. Thank you.</p>