public WriteResult<T, K> remove(T object, WriteConcern concern) throws MongoException {
        return new WriteResult<T, K>(this, dbCollection.remove(convertToDbObject(object), concern));
    }
public WriteResult < T , K > remove ( T object , WriteConcern concern ) throws MongoException { return new WriteResult < T , K > ( this , dbCollection . remove ( convertToDbObject ( object ) , concern ) ) ; }
Removes objects from the database collection.

@param object  the object that documents to be removed must match
@param concern WriteConcern for this operation
@return The result
@throws MongoException If an error occurred