Documentation for nanodbc v2.12.4
Here's a before and after look at straight ODBC C API code and its equivalent nanodbc code.
Originally nanodbc began as a simple fork of TinyODBC with additional features. Eventually it grew to the point where it made sense to break with many of the basic underlaying design decisions of TinyODBC and completely refactor much of the codebase. Other projects that have had influence on nanodbc include SimpleDB, pyodbc, Database Template Library, and GSODBC.
Why should you use nanodbc?
- Small! Same as TinyODBC, nanodbc is small. A header and an implementation file.
- Simple! There are only a handful of significant classes to learn.
- Portable! nanodbc uses only standard C++ headers in addition to the ODBC API headers.
- Robust! Where it makes sense, error handling is done with exceptions instead of return codes.
- Features! nanodbc supports ODBC 3, SQLDriverConnect(), Transactions, Bound Parameters, Bulk Operations, and much more.
- Documented! I have tried to provide very clean and useful documentation with example usage.
- Active! I am currently actively using and developing nanodbc so I hope to add more and more features all the time.
||Most recent release that's been deemed "stable". Always prefer to use this version if you can!|
||Latest release; still needs testing to be deemed "stable". See all available releases.|
||Contains the latest development code, not yet ready for a release.|
||Targets C++14+. All future development will build upon this version.|
||Supports C++03 and optionally C++11. There is no longer any support for this version.|