typo
[mdref/mdref-pq] / pq / Cursor / fetchAsync.md
1 # void pq\Cursor::fetchAsync([string $spec = "1"[, callable $callback = NULL]])
2
3 [Asynchronously](pq/Connection/: Asynchronous Usage) fetch rows from the cursor.
4 See pq\Cursor::fetch().
5
6 ## Params:
7
8 * Optional string $spec = "1"
9 What to fetch.
10 * Optional callable $callback as function(pq\Result $res)
11 A callback to execute when the result is ready.
12
13 ## Throws:
14
15 * pq\Exception\InvalidArgumentException
16 * pq\Exception\BadMethodCallException
17 * pq\Exception\RuntimeException