1 # pq\Result pq\Connection::getResult()
3 Fetch the result of an [asynchronous](pq/Connection/: Asynchronous Usage) query.
5 If the query hasn't finished yet, the call will block until the result is available.
13 * NULL, if there has not been a query
14 * pq\Result, when the query has finished
18 * pq\Exception\InvalidArgumentException
19 * pq\Exception\BadMethodCallException
25 $conn = new pq\Connection;
26 $conn->execAsync("SELECT 1");
30 $result = $conn->getResult();