I'll add method IsOk to the classes wxSQLite3Statement, wxSQLite3Resultset and wxSQLite3Table. This method will return TRUE if a SQLite database resp. statement resp. resultset is associated with the class instance. Class wxSQLite3Database already has method IsOpen checking whether a SQLite database is associated.
Nevertheless verifiying that method IsOk returns TRUE, does not guarantee that no exception will be thrown on calling other class methods. They could fail due to a SQLite error.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As announced in my previous comment I added the method IsOk to the named classes. The new code is currently available in the SVN repository only, but will be included in the next file release, of course.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'll add method IsOk to the classes wxSQLite3Statement, wxSQLite3Resultset and wxSQLite3Table. This method will return TRUE if a SQLite database resp. statement resp. resultset is associated with the class instance. Class wxSQLite3Database already has method IsOpen checking whether a SQLite database is associated.
Nevertheless verifiying that method IsOk returns TRUE, does not guarantee that no exception will be thrown on calling other class methods. They could fail due to a SQLite error.
Ok, thanks for this. It would be great!
As announced in my previous comment I added the method IsOk to the named classes. The new code is currently available in the SVN repository only, but will be included in the next file release, of course.