A personal, non-official “fork” of litesql.
Upstream seems dead for ~2 years now. The goal of this repository is to fix some issues that I encountered (and maybe some other bugs or implement new features that would be needed in batajelo, later), and try to maintain it in a usable and distributable way, for c++11.
LiteSQL is a C++ library that integrates C++ objects tightly to relational database and thus provides an object persistence layer. LiteSQL supports SQLite3, PostgreSQL and MySQL as backends. LiteSQL creates tables, indexes and sequences to database and upgrades schema when needed. In addition to object persistence, LiteSQL provides object relations which can be used to model basic OO building blocks (aggregation, composition, association). Objects can be selected, filtered and ordered using template- and class-based API with type checking at compile time.
Clone git repository: git://git.louiz.org/litesql