MLIB
Loading...
Searching...
No Matches
SQLite C++ Wrappers

Object-oriented wrappers for SQLITE3 functions. More...

Data Structures

class  mlib::Database
 Wrapper for database connection handle. More...
 
class  mlib::Query
 Wrapper for SQL prepared sentences. More...
 

Detailed Description

Object-oriented wrappers for SQLITE3 functions.

This is a thin wrapper for SQLITE API. The API is wrapped in two objects, Database and Query.

Compile-time Options

Some of the functions in these wrappers depend on optional support in the SQLITE code. Consequently, the amalgamation has to be compiled with matching options. This is accomplished by including the mlib/defs.h file as a custom header.

The amalgamation is compiled with the flag /D "SQLITE_CUSTOM_INCLUDE=mlib/defs.h" on the command line. Any desired compile-time options can hence be set in the mlib/defs.h file.