pg_convert

(PHP 4 >= 4.3.0, PHP 5)

pg_convert --  SQL命令として実行可能な形式の連想配列の値に変換する

説明

array pg_convert ( resource connection, string table_name, array assoc_array [, int options] )

pg_convert()はチェックし、SQL命令として実行可能 な形式のassoc_arrayに変換します。 Precondition for pg_convert() is the existence of a table table_name which has at least as many columns as assoc_array has elements. The fieldnames as well as the fieldvalues in table_name must match the indices and values of assoc_array. Returns an array with the converted values on success, FALSE otherwise.

警告

この関数は、 実験的なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用してください。

pg_metadata()も参照ください。