src/Repository.php
public function deleteMany($filter, $options = [])
    {
        $filter = $this->castQuery($filter);
        $result = $this->collection->deleteMany($filter, $options);

        if ($result->isAcknowledged()) {
            return true;
        } else {
            return false;
        }
    }
public function deleteMany($filter, $options = [])
    {
        $filter = $this->castQuery($filter);
        $result = $this->collection->deleteMany($filter, $options);

        if ($result->isAcknowledged()) {
            return true;
        } else {
            return false;
        }
    }
public function deleteMany ( $ filter , $ options = [ ] ) { $ filter = $ this -> castQuery ( $ filter ) ; $ result = $ this -> collection -> deleteMany ( $ filter , $ options ) ; if ( $ result -> isAcknowledged ( ) ) { return true ; } else { return false ; } }
Delete many document

@param   array   $filter     Filter wich match to objects to delete
@param   array   $options    Options
@return  void
Delete many document