Pdo\Pgsql::copyFromArray
(PHP 8 >= 8.4.0)
Pdo\Pgsql::copyFromArray — Copy data from a PHP array into a table
Descrição
Copies data from rows
array to table
tableName
using separator
as fields delimiter and fields
list.
Parâmetros
tableName
-
String containing table name.
rows
-
An indexed array of strings with fields
separated by
separator
.
separator
-
Delimiter used to separate fields in an entry of the
rows
array.
nullAs
-
How to interpret SQL
NULL
values.
fields
-
List of fields to insert.
Valor Retornado
Retorna true
em caso de sucesso ou false
em caso de falha.