DocResult::getWarningsCountGet warning count from last operation Description
public int mysql_xdevapi\DocResult::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\DocResult::getWarningsCount example
The above example will output something similar to: array(4) { ["_id"]=> string(28) "00005b6b53610000000000000135" ["age"]=> int(42) ["job"]=> string(6) "Butler" ["name"]=> string(8) "Reginald" } |