pg_select

 mixed pg_select ( resource $connection , string $table_name , array $assoc_array [, int $options = PGSQL_DML_EXEC ] ) 

説明

pg_select() selects records specified by assoc_array which has field=>value. For a successful query, it returns an array containing all records and fields that match the condition specified by assoc_array. If options is specified, pg_convert() is applied to assoc_array with the specified flags. Warning: This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

戻り値

Returns TRUE on success or FALSE on failure. Returns string if PGSQL_DML_STRING is passed via options.