goja-rapid/src/main/java/goja/rapid/mongo/MongoKit.java
public static DBObject findAndRemove(String collectionName, MongoQuery query) {
        DBCollection c = MongoKit.getCollection(collectionName);
        return c.findAndRemove(query.get());
    }
public static DBObject findAndRemove(String collectionName, MongoQuery query) {
        DBCollection c = MongoKit.getCollection(collectionName);
        return c.findAndRemove(query.get());
    }
public static DBObject findAndRemove ( String collectionName , MongoQuery query ) { DBCollection c = MongoKit . getCollection ( collectionName ) ; return c . findAndRemove ( query . get ( ) ) ; }
根据条件对象查找并删除
根据条件对象查找并删除