SplSubject
API to execute queries assembled by pq\Query\WriterInterface.
Execute the query and process the result with the callback
.
mixed
pq\Query\ExecutorInterface pq\Query\ExecutorInterface::execute(\pq\Query\WriterInterface $query, callable
$callback);
Retrieve the coonection used by the executor.
Retrieve the current query.
pq\Query\WriterInterface pq\Query\ExecutorInterface::getQuery()
Retrieve the result of the current query.
Set the connection the executor should use.
pq\Query\ExecutorInterface pq\Query\ExecutorInterface::setConnection(pq\Connection $conn)