title: How to suppress a column in mongodb using Java drivers?
body: <p>I would like to achieve the following mongo query in Java.</p>
  
  <pre><code>db.getCollection('document').find({ "$and": [
  {"storeId":"1234"},
  {"tranDate" : {"$gte":new Date("Sat,01 Oct 2016 00:00:00 GMT"),
                 "$lte":new Date("Mon,31 Oct 2016 00:00:00 GMT")}}
  ]
  },
  {"_id" : 0})
  </code></pre>
  
  <p>I have the following java code, but I'm not sure how to add the suppress logic,</p>
  
  <pre><code>List&lt;Bson&gt; conditions = new ArrayList&lt;&gt;();
  conditions.add(eq("field1", "value1"));
  conditions.add(eq("field2", "value2"));
  Bson query = and(conditions);
  FindIterable&lt;Document&gt; resultSet = db.getCollection("document").find(query);
  </code></pre>
  
  <p>I need to add {"_id" : 0} in the code logic to suppress "_id" field. Kindly let me know how can I achieve this.</p>