Returns the number of warnings produced by the executed SQL statement.
unsigned warning_count() const;
this->has_value() == true
No-throw guarantee.