1 # pq\Result pq\Statement::exec([array $params = NULL])
3 Execute the prepared statement.
7 * Optional array $params = NULL
8 Any parameters to substitute in the preapred statement (defaults to any bou
13 * pq\Result, the result of the execution of the prepared statement.
17 * pq\Exception\InvalidArgumentException
18 * pq\Exception\BadMethodCallException
19 * pq\Exception\RuntimeException
25 $connection = new pq\Connection;
26 $statement = $connection->prepare("st1", "SELECT int4(\$1)");
27 $result = $statement->exec([123]);