how to write two conditions in find() in mongodb code example
Example: java mongodb find with multiple conditions
BasicDBObject criteria = new BasicDBObject();
criteria.append("color", "black");
criteria.append("shape", "round");
criteria.append("weight", 100);
DBCursor cur = widgets.find(criteria);