1 # void pq\Cursor::__construct(pq\Connection $conn, int $flags, string $query[, bool $async = FALSE])
4 See pq\Connection::declare().
8 * pq\Connection $connection
9 The connection on which the cursor should be declared.
11 See pq\Cursor constants.
13 The query for ehich the cursor should be opened.
15 Whether to declare the cursor [asynchronously](pq/Connection/: Asynchronous Usage).
19 * pq\Exception\InvalidArgumentException
20 * pq\Exception\BadMethodCallException
21 * pq\Exception\RuntimeException