(PHP 8 >= 8.4.0)
Pdo\Pgsql::copyFromArray — Copy data from a PHP array into a table
public Pdo\Pgsql::copyFromArray( string $tableName, array $rows, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null ): bool
Copies data from rows array to table tableName using separator as fields delimiter and fields list.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/pdo-pgsql.copyfromarray.php