Module: BaseResult

BaseResult common API of the resultset interface.
Source:

Methods

getWarnings() → {Array.<Warning>}

Retrieve the list of warnings generated on the server.
Source:
Returns:
The list of warning objects
Type
Array.<Warning>

getWarningsCount() → {number}

Retrieve the number of warnings generated on the server.
Source:
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
Source: