tntdb::sqlite Namespace Reference

This namespace contains the implementation of the Sqlite driver for tntdb. More...

Classes

class  SqliteError
class  Execerror
class  Connection
 Implements a connection to a Sqlite3 database file. More...
class  ConnectionManager
class  Cursor
class  Statement
class  StmtRow
 Row of a statement. More...
class  StmtValue

Detailed Description

This namespace contains the implementation of the Sqlite driver for tntdb.

The driver makes it possible to access a Sqlite3 database using tntdb.

Note that only sqlite api version 3 is supported.

To get a connection to a Sqlite3 file, the dburl to the tntdb::connect function must start with "sqlite:". The remaining string is passed to the sqlite3_open function of sqlite.

A typical connection with a Sqlite3 driver looks like that:

tntdb::Connection conn = tntdb::connect("sqlite:mydatabase.db");