goja-rapid/src/main/java/goja/rapid/mongo/MongoKit.java
public static List<DBObject> findByQuery(String collectionName, MongoQuery query) {
        DBCollection c = MongoKit.getCollection(collectionName);
        return c.find(query.get()).toArray();
    }
public static List<DBObject> findByQuery(String collectionName, MongoQuery query) {
        DBCollection c = MongoKit.getCollection(collectionName);
        return c.find(query.get()).toArray();
    }
public static List < DBObject > findByQuery ( String collectionName , MongoQuery query ) { DBCollection c = MongoKit . getCollection ( collectionName ) ; return c . find ( query . get ( ) ) . toArray ( ) ; }
根据条件对象查找
根据条件对象查找