1 # void pq\COPY::__construct(pq\Connection $conn, string $expression, int $direction[, string $options = NULL])
3 Start a COPY operation.
8 The connection to use for the COPY operation.
10 The expression generating the data to copy.
12 Data direction (pq\COPY::FROM_STDIN or pq\COPY::TO_STDOUT).
13 * Optional string $options = NULL
14 Any COPY options (see the [official PostgreSQL documentaion](http://www.postgresql.org/docs/current/static/sql-copy.html) for details.
18 * pq\Exception\InvalidArgumentException
19 * pq\Exception\BadMethodCallException
20 * pq\Exception\RuntimeException