141ac230aa0077ced9c15eb2fe1eecf49acd9507
6 * An executor of \pq\Query\Writer queries
8 interface ExecutorInterface
12 * @return \pq\Connection
14 function getConnection();
18 * @param \pq\Connection $conn
19 * @return \pq\Query\ExecutorInterface
21 function setConnection(\pq\Connection
$conn);
24 * Execute the query and return the \pq\Result through $callback
25 * @param \pq\Query\WriterInterface $query
26 * @param callable $callback
27 * @return mixed the result of the callback
29 function execute(WriterInterface
$query, callable
$callback);