AsyncMysqlQueryErrorResult
Contains the information about results for query statements that ran before a MySQL error
This class is instantiated when an AsyncMysqlQueryException
is thrown and
AsyncMysqlQueryException::getResult()
is called.
Guides
Interface Synopsis
final class AsyncMysqlQueryErrorResult extends AsyncMysqlErrorResult {...}
Public Methods
->getSuccessfulResults(): Vector<AsyncMysqlQueryResult>
Returns the results that were fetched by the successful query statements->numSuccessfulQueries(): int
Returns the number of successfully executed queries
Public Methods (AsyncMysqlErrorResult
)
->clientStats(): AsyncMysqlClientStats
Returns the MySQL client statistics for the events that produced the error->elapsedMicros(): int
The total time for the MySQL error condition to occur, in microseconds->endTime(): float
The end time when the error was produced, in seconds since epoch->failureType(): string
The type of failure that produced this result->mysql_errno(): int
Returns the MySQL error number for this result->mysql_error(): string
Returns a human-readable string for the error encountered in this result->mysql_normalize_error(): string
Returns an alternative, normalized version of the error message provided by mysql_error()->startTime(): float
The start time when the error was produced, in seconds since epoch
Public Methods (AsyncMysqlResult
)
->getSslCertCn(): string
Returns Common Name attribute of the TLS certificate presented by MySQL server->getSslCertExtensions(): Vector<string>
Returns values from the selected cert extensions of the TLS certificate presented by MySQL server->getSslCertSan(): Vector<string>
Returns Server Alternative Names attribute of the TLS certificate presented by MySQL server->isSslCertValidationEnforced(): bool
Returns a boolean value indicating if server cert validation was enforced for this connection->sslSessionReused(): bool
Returns whether or not the current connection reused the SSL session from another SSL connection