pg_convert
pg_convert
(PHP 4 >= 4.3.0, PHP 5, PHP 7)
pg_convert — Convert associative array values into suitable for SQL statement
Description
array pg_convert ( resource $connection , string $table_name , array $assoc_array [, int $options = 0 ] )
pg_convert() checks and converts the values in assoc_array
into suitable values for use in an SQL statement. Precondition for pg_convert() is the existence of a table table_name
which has at least as many columns as 登录查看完整内容