1 # array pq\Result::fetchAllCols([int $col = 0])
3 Fetch all rows of a single column.
7 * Optional int $col = 0
8 The column name or index to fetch.
12 * array, list of column values.
16 * pq\Exception\InvalidArgumentException
17 * pq\Exception\BadMethodCallException
18 * pq\Exception\RuntimeException
24 /* Of the following result set:
35 $result->fetchAllCols(0); /* this call would fetch:
44 $result->fetchAllCols("name"); /* this call would fetch: