system/classes/Db_MySQL.php
protected function calculateDELETE()
    {
        $this->query .= 'DELETE FROM ';
        
        // Determine Table(s)
        $this->queryStringFromArray('tables', '', ', ');

        // Where and IN
        $this->conditionStringFromArray('wheres', ' WHERE ', ' AND ');
        
        // OrderBy
        $this->queryStringFromArray('orderBys', ' ORDER BY ', ', ', false);
        
        // Limit
        if ($this->limit) {
            $this->query .= ' LIMIT '.$this->limit;
        }
    }
protected function calculateDELETE()
    {
        $this->query .= 'DELETE FROM ';
        
        // Determine Table(s)
        $this->queryStringFromArray('tables', '', ', ');

        // Where and IN
        $this->conditionStringFromArray('wheres', ' WHERE ', ' AND ');
        
        // OrderBy
        $this->queryStringFromArray('orderBys', ' ORDER BY ', ', ', false);
        
        // Limit
        if ($this->limit) {
            $this->query .= ' LIMIT '.$this->limit;
        }
    }
Create a DELETE statement.