src/mako/database/query/compilers/Compiler.php
protected function insertWithValues(array $values): string
	{
		$sql  = 'INSERT INTO ';
		$sql .= $this->escapeTable($this->query->getTable());
		$sql .= ' (' . implode(', ', $this->escapeIdentifiers(array_keys($values))) . ')';
		$sql .= ' VALUES';
		$sql .= ' (' . $this->params($values) . ')';

		return $sql;
	}
protected function insertWithValues(array $values): string
	{
		$sql  = 'INSERT INTO ';
		$sql .= $this->escapeTable($this->query->getTable());
		$sql .= ' (' . implode(', ', $this->escapeIdentifiers(array_keys($values))) . ')';
		$sql .= ' VALUES';
		$sql .= ' (' . $this->params($values) . ')';

		return $sql;
	}
protected function insertWithValues ( array $ values ) : string { $ sql = 'INSERT INTO ' ; $ sql .= $ this -> escapeTable ( $ this -> query -> getTable ( ) ) ; $ sql .= ' (' . implode ( ', ' , $ this -> escapeIdentifiers ( array_keys ( $ values ) ) ) . ')' ; $ sql .= ' VALUES' ; $ sql .= ' (' . $ this -> params ( $ values ) . ')' ; return $ sql ; }
Returns a INSERT query with values.

@param  array  $values Array of values
@return string
Returns a INSERT query with values .