system/classes/Db_MySQL.php
protected function calculateINSERT()
    {
        $this->query .= 'INSERT INTO ';
        
        // Determine Table(s)
        $this->queryStringFromArray('tables', '', ', ');
        
        // SETs
        if (!empty($this->inserts)) {
            $this->query .= ' (';
            $this->queryStringFromArray('inserts', '', ', ');
            $this->query .= ')';
        }
        
        // Values
        $this->valueStringFromArray('values', ' VALUES ', ', ');
    }
protected function calculateINSERT()
    {
        $this->query .= 'INSERT INTO ';
        
        // Determine Table(s)
        $this->queryStringFromArray('tables', '', ', ');
        
        // SETs
        if (!empty($this->inserts)) {
            $this->query .= ' (';
            $this->queryStringFromArray('inserts', '', ', ');
            $this->query .= ')';
        }
        
        // Values
        $this->valueStringFromArray('values', ' VALUES ', ', ');
    }
Create an INSERT statement.