lib/Sirel/Visitor/ToSql.php
protected function visitSirelNodeInsertStatement(Node\InsertStatement $insert)
    {
        return
            "INSERT INTO " . $this->visit($insert->relation)
            . ' (' . join(', ', $this->visitEach($insert->columns)) . ')'
            . ' VALUES (' . join(', ', $this->visitEach($insert->values)) . ');';
    }
protected function visitSirelNodeInsertStatement(Node\InsertStatement $insert)
    {
        return
            "INSERT INTO " . $this->visit($insert->relation)
            . ' (' . join(', ', $this->visitEach($insert->columns)) . ')'
            . ' VALUES (' . join(', ', $this->visitEach($insert->values)) . ');';
    }
protected function visitSirelNodeInsertStatement ( Node \ InsertStatement $ insert ) { return "INSERT INTO " . $ this -> visit ( $ insert -> relation ) . ' (' . join ( ', ' , $ this -> visitEach ( $ insert -> columns ) ) . ')' . ' VALUES (' . join ( ', ' , $ this -> visitEach ( $ insert -> values ) ) . ');' ; }
Creates an INSERT Statement

@param  Node\InsertStatement $insert
@return string
Creates an INSERT Statement