title: where clause for array on mongo does not work
body: <p>I am new to mongodb, I have a document in my db as follow:</p>
  
  <p>{ "_id" : { "$oid" : "546e916cd38e0b3e0e79592f"} , "name" : "hamed" , "entity" : [ "1" , "2"]}</p>
  
  <p>Now I want to read aal docs that entity=["1","2"]
  for that I tried the following code :</p>
  
  <pre><code>MongoClient mongoClient = new MongoClient("localhost", 27017);
      DB db = mongoClient.getDB("test");
      Set&lt;String&gt; colls = db.getCollectionNames();
      DBCollection coll = db.getCollection("test");
      DBObject oredrFields = new BasicDBObject();
      oredrFields.put("entity", ":{ $in: ['1', '2'] } }");
      DBCursor cursor = coll.find(oredrFields);
      try {
          while (cursor.hasNext()) {
              System.out.println(cursor.next());
          }
      } finally {
          cursor.close();
      }
  </code></pre>
  
  <p>But it does not return anything... Can anyone help how I can write my where clause correctly?</p>