Predicate/About Predicate

Jump to: navigation, search

Predicate is a database connectivity and creation library, a new iteration of KexiDB library developed within Kexi, part of the Calligra Suite (formerly KOffice).

Predicate 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, Predicate is developed for wider audience. At some point Kexi will use it too, thus deprecating KexiDB.

Unlike QtSQL, Predicate '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). Predicate 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.

Predicate is widely free/libre software available under the GNU Lesser General Public License (LGPL). Thus, developers are free to:

  • use Predicate in applications
  • extend it for specialized use cases
  • contribute directly to Predicate


Read about history of the project in the KDE Commit-Digest.

This page was last modified on 10 March 2013, at 15:20. This page has been accessed 1,324 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal