Fast import/export using COPY.
string
$expression#int
$direction#string
$options#Start a COPY operation.
void
pq\COPY::__construct(pq\Connection $conn, string
$expression, int
$direction[, string
$options = NULL
])
End the COPY operation to the server during pq\Result::COPY_IN state.
void
pq\COPY::end([string
$error = NULL
])
Receive data from the server during pq\Result::COPY_OUT state.
bool
pq\COPY::get(string
&$data)
Send data to the server during pq\Result::COPY_IN state.
void
pq\COPY::put(string
$data)