pg_copy_from
(PHP 4 >= 4.2.0)
pg_copy_from -- Insert records into a table from an array
Description
bool pg_copy_from ( resource connection, string table_name,
array rows [, string delimiter [, string null_as]])
pg_copy_from() insert records into a table from rows. It
issues COPY FROM SQL command internally to insert records.
Returns TRUE on success or FALSE on failure.
See also pg_copy_to().
pg_copy_to
(PHP 4 >= 4.2.0)
pg_copy_to -- Copy a table to an array
Description
array pg_copy_to ( resource connection, string table_name
[, string delimiter [, string null_as]])
pg_copy_to() copies a table to an array. It issues COPY
TO SQL command internally to retrieve records. The resulting
array is returned. It returns FALSE on failure.
See also pg_copy_from().
|