pq\Result pq\Statement::exec([array $params = NULL])

Execute the prepared statement.

Params:

Returns:

Throws:

Example:


<?php

$connection 
= new pq\Connection;
$statement $connection->prepare("st1""SELECT int4(\$1)");
$result $statement->exec([123]);

?>