Pyh.conf’25: a new PHP conference for the Russian-speaking community

Voting

: nine minus six?
(Example: nine)

The Note You're Voting On

John M
4 years ago
Worth noting here that just like the COPY TO statement in PostgreSQL, '$table_name' can include a list of columns or be a select query as well.
e.g.:
$rows = pg_copy_to($db,'schema."TableName" (column1, column2, ...)';
$rows = pg_copy_to($db,'(SELECT ...)');

<< Back to user notes page

To Top