src/CI_Base_Model.php
public function delete_many($primary_values, $time='NOW()')
    {
        $this->_database->where_in($this->primary_key, $primary_values);

        return $this->_delete($primary_values, $time);
    }
public function delete_many($primary_values, $time='NOW()')
    {
        $this->_database->where_in($this->primary_key, $primary_values);

        return $this->_delete($primary_values, $time);
    }
Delete many rows from the database table by multiple primary values