A synchronous query executor implementation.
SplObjectStorage
$observers#Create a new query executor.
Implements SplSubject
.
void
pq\Query\Executor::attach(SplObserver
$observer)
Implements SplSubject
.
void
pq\Query\Executor::detach(SplObserver
$observer)
Execute the query and process the result with the callback
.
mixed
pq\Query\Executor pq\Query\Executor::execute(\pq\Query\Writer $query, callable
$callback);
Retrieve the coonection used by the executor.
Retrieve the current query.
Retrieve the result of the current query.
Implements SplSubject
.
Set the connection the executor should use.
pq\Query\Executor pq\Query\Executor::setConnection(pq\Connection $conn)