src/mako/database/query/Query.php
public function insert(array $values = []): bool
	{
		$query = $this->compiler->insert($values);

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

		return $this->connection->query($query['sql'], $query['params']);
	}
public function insert ( array $ values = [ ] ) : bool { $ query = $ this -> compiler -> insert ( $ values ) ; return $ this -> connection -> query ( $ query [ 'sql' ] , $ query [ 'params' ] ) ; }
Inserts data into the chosen table.

@param  array $values Associative array of column values
@return bool
Inserts data into the chosen table .