(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 separator
as fields delimiter and fields
list
tableName
separator
rows
array.
nullAs
NULL
values.
fields
Returns an array of rows,失敗した場合に false
を返します.