src/mako/database/query/compilers/Compiler.php
public function insert(array $values = []): array
	{
		$sql = $this->query->getPrefix();

		if(empty($values))
		{
			$sql .= $this->insertWithoutValues();
		}
		else
		{
			$sql .= $this->insertWithValues($values);
		}

		return ['sql' => $sql, 'params' => $this->params];
	}
public function insert(array $values = []): array
	{
		$sql = $this->query->getPrefix();

		if(empty($values))
		{
			$sql .= $this->insertWithoutValues();
		}
		else
		{
			$sql .= $this->insertWithValues($values);
		}

		return ['sql' => $sql, 'params' => $this->params];
	}
public function insert ( array $ values = [ ] ) : array { $ sql = $ this -> query -> getPrefix ( ) ; if ( empty ( $ values ) ) { $ sql .= $ this -> insertWithoutValues ( ) ; } else { $ sql .= $ this -> insertWithValues ( $ values ) ; } return [ 'sql' => $ sql , 'params' => $ this -> params ] ; }
Compiles a INSERT query.

@param  array $values Array of values
@return array
Compiles a INSERT query .