KDb is a database connectivity and creation framework for various database vendors.
KDb is consisted of a general-purpose C++/Qt-only library and a set of plugins. Because there is no dependency on Kexi, Calligra or even on KDE libraries, KDb is developed for a wider audience. Kexi since the version 3 uses it too, thus deprecating KexiDB.
Unlike QtSQL, KDb 'knows' how to create database and new tables. It has a Qt/C++ API for that. There is no need to pass SQL at all but you can pass if you wish (it will silently parse your statements before contacting the database). KDb is developed as a next generation database handling layer for Kexi and similar complex apps.
The main downside at the moment: it's not yet released and its API isn't frozen, so early adopters need to install a copy of it. Once released source and binary compatibility will be maintained.
KDb is widely free/libre software available under the GNU Lesser General Public License (LGPL). Thus, developers are free to:
- use KDb in applications, also commercial
- extend it for specialized use cases
- contribute directly to KDb