Interested in improving this site? Please check the To Do page.
mysql.getQueryWarningCount
Get the number of warnings from last query.
Syntax
mysql.getQueryWarningCount(dbid)
Params
A database connection ID.
Be careful – it’s natural to assume you’re going to pass a query ID, but you need to be sure to pass a database connection ID instead.
Returns
Double-value (the number of rows could be very high)
Examples
count = mysql.getQueryWarningCount(id)
Notes
Be careful – it’s natural to assume you’re going to pass a query ID, but you need to be sure to pass a database connection ID instead.