Pdo\Pgsql::copyFromArray
(PHP 8 >= 8.4.0)
Pdo\Pgsql::copyFromArray — Copy data from a PHP array into a table
说明
public Pdo\Pgsql::copyFromArray(
string
array
string
string
?string
): bool
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.
参数
参见
- Pdo\Pgsql::copyToArray() - Copy data from database table into PHP array
- Pdo\Pgsql::copyFromFile() - Copy data from file into table
- Pdo\Pgsql::copyToFile() - Copy data from table into file
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/pdo-pgsql.copyfromarray.php