I\'m trying to query a collection using operands AND\'d together. I\'ve got the shell version working:
db.widgets.find({color: \'black, shape: \'round\', wei
BasicDBObject criteria = new BasicDBObject(); criteria.append("color", "black"); criteria.append("shape", "round"); criteria.append("weight", 100); DBCursor cur = widgets.find(criteria);