main/app/API/Crud.php
public function deleteBulk(array $data, array $options = [])
    {
        $this->om->startFlushSuite();

        foreach ($data as $el) {
            //get the element
            $this->delete($el, $options);
        }

        $this->om->endFlushSuite();
    }
public function deleteBulk(array $data, array $options = [])
    {
        $this->om->startFlushSuite();

        foreach ($data as $el) {
            //get the element
            $this->delete($el, $options);
        }

        $this->om->endFlushSuite();
    }
public function deleteBulk ( array $ data , array $ options = [ ] ) { $ this -> om -> startFlushSuite ( ) ; foreach ( $ data as $ el ) { //get the element $ this -> delete ( $ el , $ options ) ; } $ this -> om -> endFlushSuite ( ) ; }
Deletes a list of entries of `class`.

@param array $data    - the list of entries to delete
@param array $options - additional delete options
Deletes a list of entries of class .