lib/Doctrine/DBAL/Query/QueryBuilder.php
private function getSQLForInsert()
    {
        return 'INSERT INTO ' . $this->sqlParts['from']['table'] .
        ' (' . implode(', ', array_keys($this->sqlParts['values'])) . ')' .
        ' VALUES(' . implode(', ', $this->sqlParts['values']) . ')';
    }
private function getSQLForInsert()
    {
        return 'INSERT INTO ' . $this->sqlParts['from']['table'] .
        ' (' . implode(', ', array_keys($this->sqlParts['values'])) . ')' .
        ' VALUES(' . implode(', ', $this->sqlParts['values']) . ')';
    }
private function getSQLForInsert ( ) { return 'INSERT INTO ' . $ this -> sqlParts [ 'from' ] [ 'table' ] . ' (' . implode ( ', ' , array_keys ( $ this -> sqlParts [ 'values' ] ) ) . ')' . ' VALUES(' . implode ( ', ' , $ this -> sqlParts [ 'values' ] ) . ')' ; }
Converts this instance into an INSERT string in SQL.

@return string
Converts this instance into an INSERT string in SQL .