Copyright (c) 1992-2021, Eligis
All rights reserved.
The dbsql++ provides basic SQL interface to different SQL engines.
It gives a uniform interface to:
- MySQL/MariaDB
- ODBC
- PostresSQL
- SQLite
DB Qwery can be as simple as:
for (const auto& row : env.getCursor("SELECT * FROM foo;")) {
for (const auto& x : row) {
std::cout << std::setw(8) << x << " -- ";
}
std::cout << std::endl;
}
You can retrieve the source code on sourceforge using:
svn checkout svn://svn.code.sf.net/p/dbsql-cpp/code/ dbsql-cpp-code