Pdo\Pgsql::copyFromArray
PHP の配列から、データをテーブルにコピーする
&reftitle.description;
public boolPdo\Pgsql::copyFromArray
stringtableName
arrayrows
stringseparator"\t"
stringnullAs"\\\\N"
stringnullfields&null;
rows 配列からデータをテーブル
tableName にコピーします。その際、separator を
フィールドのデリミタ、そして fields のリストを使います。
&reftitle.parameters;
tableName
テーブル名を含む文字列
rows
separator で区切られたフィールドの文字列の配列
separator
rows 配列の各要素の中で
フィールドを分割するためのデリミタ
nullAs
SQLの NULL 値をどのように扱うかを指定します
fields
挿入するフィールドの一覧
&reftitle.returnvalues;
&return.success;
&reftitle.seealso;
Pdo\Pgsql::copyToArray
Pdo\Pgsql::copyFromFile
Pdo\Pgsql::copyToFile