|
MySQL Shell API 9.3.0
Unified development interface for MySQL Products
|
Base class for the different types of results returned by the server. More...
Methods | |
| Integer | getAffectedItemsCount () |
| The the number of affected items for the last operation. More... | |
| Integer | getWarningsCount () |
| The number of warnings produced by the last statement execution. More... | |
| List | getWarnings () |
| Retrieves the warnings generated by the executed operation. More... | |
| String | getExecutionTime () |
| Retrieves a string value indicating the execution time of the executed operation. | |
Properties | |
| Integer | affectedItemsCount |
| Same as getAffectedItemsCount() | |
| Integer | warningsCount |
| Same as getWarningsCount() | |
| List | warnings |
| Same as getWarnings() | |
| String | executionTime |
| Same as getExecutionTime() | |
Base class for the different types of results returned by the server.
| Integer getAffectedItemsCount | ( | ) |
The the number of affected items for the last operation.
Returns the number of records affected by the executed operation.
| Integer getWarningsCount | ( | ) |
The number of warnings produced by the last statement execution.
This is the same value than C API mysql_warning_count, see https://dev.mysql.com/doc/c-api/en/mysql-warning-count.html
See getWarnings() for more details.
| List getWarnings | ( | ) |
Retrieves the warnings generated by the executed operation.
This is the same value than C API mysql_warning_count, see https://dev.mysql.com/doc/c-api/en/mysql-warning-count.html
Each warning object contains a key/value pair describing the information related to a specific warning.
This information includes: Level, Code and Message.
1.9.2