Answers for "how to write two conditions in find() in mongodb"

1

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);
Posted by: Guest on December-07-2020

Code answers related to "how to write two conditions in find() in mongodb"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language