BaseResult::getWarningsCountFetch warning count from last operation Description
abstract public int mysql_xdevapi\BaseResult::getWarningsCount()
Returns the number of warnings raised by the last operation. Specifically, these warnings are raised by the MySQL server. ParametersThis function has no parameters. Return ValuesThe number of warnings from the last operation. ExamplesExample #1 mysql_xdevapi\RowResult::getWarningsCount example
The above example will output something similar to: 2 |