string
$query)Execute one or multiple SQL queries on the connection.
NOTE:
Only the last result will be returned, if the querystring
contains more than one SQL query.
<?php
$connection = new pq\Connection;
$result = $connection->exec("SELECT 1");
?>