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)

<?hh // partial

echo "AsyncMysqlResult is abstract. See specific, concrete classes for ".
  "examples of clientStats (e.g., AsyncMysqlConnectResult, ".
  "AsyncMysqlErrorResult)".
  PHP_EOL;
Output
AsyncMysqlResult is abstract. See specific, concrete classes for examples of clientStats (e.g., AsyncMysqlConnectResult, AsyncMysqlErrorResult)