AsyncMysqlResult::clientStats
Returns the MySQL client statistics at the moment the result was created
abstract public function clientStats(): AsyncMysqlClientStats;
This information can be used to know how the performance of the MySQL client may have affected the result.
Returns
AsyncMysqlClientStats
- anAsyncMysqlClientStats
object to query about event and callback timing to the MySQL client for the specific result.
Examples
AsyncMysqlResult is abstract. See specific, concrete classes for examples of AsyncMysqlResult::clientStats
(e.g., AsyncMysqlConnectResult, AsyncMysqlErrorResult)
echo "AsyncMysqlResult is abstract. See specific, concrete classes for ".
"examples of clientStats (e.g., AsyncMysqlConnectResult, ".
"AsyncMysqlErrorResult)".
\PHP_EOL;
```.hhvm.expectf
AsyncMysqlResult is abstract. See specific, concrete classes for examples of clientStats (e.g., AsyncMysqlConnectResult, AsyncMysqlErrorResult)
```.example.hhvm.out
AsyncMysqlResult is abstract. See specific, concrete classes for examples of clientStats (e.g., AsyncMysqlConnectResult, AsyncMysqlErrorResult)
```.skipif
await \Hack\UserDocumentation\API\Examples\AsyncMysql\skipif_async();