BaseResult common API of the resultset interface.
Methods
-
getWarnings()
-
Retrieve the list of warnings generated on the server.
Returns:
The list of warning objects- Type
- Array.<Warning>
-
getWarningsCount()
-
Retrieve the number of warnings generated on the server.
Returns:
The number of warnings.- Type
- number
Type Definitions
-
Warning
-
MySQL Warning
Type:
- Object
Properties:
Name Type Description level
Number Warning level (1 - NOTE, 2 - WARNING, 3 - ERROR) code
Number Warning code in the server msg
string Warning message