(PHP 8 >= 8.4.0)
Pdo\Pgsql::copyToArray — Copy data from database table into PHP array
$tableName
,$separator
= "\t",$nullAs
= "\\\\N",$fields
= null
Copies data from tableName
into array using delimiter
as fields delimiter and fields
list
tableName
separator
rows
array.
nullAs
NULL
values.
fields
Returns an array of rows, 或者在失败时返回 false
.