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

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();