PHP: mysqli::reap_async_query - Manual (original) (raw)

mysqli_reap_async_query

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

mysqli::reap_async_query -- mysqli_reap_async_query — Get result from async query

Description

Object-oriented style

Procedural style

Get result from async query.

Note:

Available only with mysqlnd.

Return Values

Returns [false](reserved.constants.php#constant.false) on failure. For successful queries which produce a result set, such as SELECT, SHOW, DESCRIBE orEXPLAIN, mysqli_reap_async_query() will return a mysqli_result object. For other successful queries, mysqli_reap_async_query() will return [true](reserved.constants.php#constant.true).