Projects / Database Independent Abstraction Layer for C

Database Independent Abstraction Layer for C

libdbi implements a database-independent abstraction layer in C, similar to the DBI/DBD layer in Perl. Writing one generic set of code, programmers can leverage the power of multiple databases and multiple simultaneous database connections by using this framework. The plugin architecture allows for new database drivers to be easily added by a third party with flexible licensing.

Operating Systems

Recent releases

  •  15 Mar 2013 07:34

    Release Notes: The library now supports multiple independent "instances", which permits programs to use several dlopen()ed modules which are linked against libdbi. Support for transactions and savepoints has been added, and drivers now receive additional hints to optimize sequential reads from result sets.

    •  06 Feb 2008 22:12

      Release Notes: Error handling and reporting was improved, and three string-escaping functions were added.

      •  20 Feb 2007 11:08

        Release Notes: Support for a timezone suffix in time and date types was added. Error handling and error reporting were vastly improved. Some memory leaks were fixed.

        •  28 Sep 2005 20:26

          Release Notes: A bug in some of the string retrieval functions was fixed, which caused libdbi to return NULL instead of an empty string.

          •  31 Aug 2005 22:18

            Release Notes: The internals were thoroughly revised to remove signedness and silent (on i386) type mismatches in an attempt to improve portability beyond the mainstream Linux and BSD systems, including 64bit platforms. Support for connection character encodings and for quoting binary strings was added. The documentation was updated. Native Win32 builds using Mingw are now supported in addition to the Cygwin port.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.