LiteSQL

LiteSQL is a C++ library that integrates C++ objects tightly to a 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 any kind of C++ data structures. Objects can be selected, filtered, and ordered using a template- and class-based API with type checking at compile time.

Tags Database API Software Development Libraries Code Generators
Licenses LGPL
Operating Systems Windows Windows POSIX
Implementation C++ SQL

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  25 Jan 2006 10:40
  • Rrelease-after

Changes: Many small but important bugfixes were made. A litesql-config utility, pkg-config support, and RPM packaging headers were added.

  • Rrelease-mid
  •  29 Nov 2005 23:32
  • Rrelease-after

Changes: A namespace attribute is now required. Relation field type names are now consistent with object field type names (they start with an uppercase letter). Litesql-gen no longer rejects relations with two or more objects with no relation handles. Better tests for backend databases were added to configure.ac.

  • Rrelease-mid
  •  24 Nov 2005 16:44
  • Rrelease-after

Changes: Relation handling code has been improved. A configure script has been added using autoconf and automake. A Python code generator has been replaced with a C++ one (litesql-gen). Scons dependencies have been removed. Debian packaging headers have been added. A Graphviz target has been added to litesql-gen. Date, time, datetime, and boolean types have been added.

  • Rrelease-mid
  •  23 Jul 2005 11:54
  • Rrelease-after

Changes: Macro hacks were removed, as an XML database definition file and code generator are used now. N-ary relations (relations that link three or more objects) are supported. Support was added for relation attributes (ordered relations are now possible). Set operations were added: intersect, union_, except. Small changes were made under the hood.

  • Rrelease-mid
  •  20 Mar 2005 07:33
  • Rrelease-after

No changes have been submitted for this release.

No-screenshot

Project Spotlight

DB2

A database management system.

Dc535506b614020994c937c490c23fcf_thumb

Project Spotlight

Citizen Intelligence Agency

A project to increase the surveillance of Swedish parliament members.