|
pg_get_resultGet asynchronous query result Description
PgSql\Resultfalse pg_get_result(PgSql\Connection
$connection )pg_get_result gets an PgSql\Result instance from an asynchronous query executed by pg_send_query, pg_send_query_params or pg_send_execute. pg_send_query and the other asynchronous query functions can send multiple queries to a PostgreSQL server and pg_get_result is used to get each query's results, one by one. Parameters
Return Values
An PgSql\Result instance, or Changelog
Examples
Example #1 pg_get_result example
The above example will output: First call to pg_get_result(): Resource id #3 Resource id #3 has 3 records Second call to pg_get_result(): Resource id #4 Resource id #4 has 1 records See Also
|