You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For further version information please consult the CHANGELOG.
Overview
wxSQLite3 5.x is a major update with a modernized C++ API. It is not fully source-compatible with wxSQLite3 4.x. Therefore, wxSQLite3 4.x will receive maintenance updates, including updates to the bundled SQLite version, for a limited period following the release of 5.0.0. No new API features will be added. The End-of-Life date of version 4.x will be announced separately.
Modern C++ API
The wxSQLite3 API has been extended with several features aimed at modern C++ development:
Template-based methods for retrieving values from result sets
Template-based methods for binding values to prepared statements
Iterator support for wxSQLite3::ResultSet
Support for range-based for loops when processing result sets
These features complement the existing wxSQLite3 API and allow result-set and prepared-statement code to be written in a more concise and type-oriented style.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Changes since previous release
For further version information please consult the CHANGELOG.
Overview
wxSQLite3 5.x is a major update with a modernized C++ API. It is not fully source-compatible with wxSQLite3 4.x. Therefore, wxSQLite3 4.x will receive maintenance updates, including updates to the bundled SQLite version, for a limited period following the release of 5.0.0. No new API features will be added. The End-of-Life date of version 4.x will be announced separately.
Modern C++ API
The wxSQLite3 API has been extended with several features aimed at modern C++ development:
wxSQLite3::ResultSetThese features complement the existing wxSQLite3 API and allow result-set and prepared-statement code to be written in a more concise and type-oriented style.
The documentation section Modern C++ Interface presents the new features.
Breaking changes
wxSQLite3(instead of name prefixwxSQLite3in class names)Example:
wxSQLite3DatebasebecomeswxSQLite3::Database.shared_ptrsenum classinstead of justenumWXSQLITE_constexprinstead of#definefor various symbolsusinginstead oftypedefnullptrinstead ofNULLsymbolstd::runtime_errorSee Migrating from 4.x to 5.x for details.
This discussion was created from the release wxSQLite3 5.0.0 (based on SQLite 3.53.4).
All reactions