1 # pq\Cursor pq\Connection::declareAsync(string $name, int $flags, string $query)
3 [Asynchronously](pq/Connection/:%20Asynchronous%20Usage) declare a cursor for a query.
6 If pq\Connection::$unbuffered is TRUE, each call to pq\Connection::getResult() will generate a distinct pq\Result containing exactly one row.
11 The identifying name of the cursor.
13 Any combination of pq\Cursor constants.
15 The query for which to open a cursor.
19 * pq\Cursor, an open cursor instance.
23 * pq\Exception\InvalidArgumentException
24 * pq\Exception\RuntimeException
25 * pq\Exception\BadMethodCallException