src/Neevo/Parser.php
protected function parseInsertStmt(){
		$cols = array();
		foreach($this->escapeValue($this->stmt->getValues()) as $col => $value){
			$cols[] = $this->parseFieldName($col);
			$values[] = $value;
		}
		$data = ' (' . implode(', ', $cols) . ")\nVALUES (" . implode(', ', $values). ')';

		return 'INSERT INTO ' . $this->clauses[0] . $data;
	}
protected function parseInsertStmt(){
		$cols = array();
		foreach($this->escapeValue($this->stmt->getValues()) as $col => $value){
			$cols[] = $this->parseFieldName($col);
			$values[] = $value;
		}
		$data = ' (' . implode(', ', $cols) . ")\nVALUES (" . implode(', ', $values). ')';

		return 'INSERT INTO ' . $this->clauses[0] . $data;
	}
protected function parseInsertStmt ( ) { $ cols = array ( ) ; foreach ( $ this -> escapeValue ( $ this -> stmt -> getValues ( ) ) as $ col => $ value ) { $ cols [ ] = $ this -> parseFieldName ( $ col ) ; $ values [ ] = $ value ; } $ data = ' (' . implode ( ', ' , $ cols ) . ")\nVALUES (" . implode ( ', ' , $ values ) . ')' ; return 'INSERT INTO ' . $ this -> clauses [ 0 ] . $ data ; }
Parses INSERT statement.
@return string
Parses INSERT statement .