typo, parameter and type fixes
[mdref/mdref-pq] / pq / COPY.md
1 # class pq\COPY
2
3 Fast import/export using COPY.
4
5 ## Constants:
6
7 * FROM_STDIN
8 Start a COPY operation from STDIN to the PostgreSQL server.
9 * TO_STDOUT
10 Start a COPY operation from the server to STDOUT.
11
12 ## Properties:
13
14 * public (readonly) pq\Connection $connection
15 The connection to the PostgreSQL server.
16 * public (readonly) string $expression
17 The expression of the COPY statement used to start the operation.
18 * public (readonly) int $direction
19 The drection of the COPY operation (pq\COPY::FROM_STDIN or pq\COPY::TO_STDOUT).
20 * public (readonly) string $options
21 Any additional options used to start the COPY operation.