Belle II Software  release-08-01-10
Connection Class Reference

Simple wrapper for a SQLite database connection. More...

#include <sqlite.h>

Collaboration diagram for Connection:

Public Member Functions

 Connection (const std::string &filename)
 Create from filename.
 
 ~Connection ()
 And clean up.
 
template<class ... Columns>
Statement< Columns... > prepare (const std::string &query, bool persistent=false)
 Return a prepared statement for execution.
 
 operator sqlite3 * () const
 Convert to raw sqlite3 pointer to allow initialization of statements without calling prepare.
 

Private Attributes

sqlite3 * m_connection
 Pointer to the sqlite database object.
 

Detailed Description

Simple wrapper for a SQLite database connection.

Definition at line 294 of file sqlite.h.


The documentation for this class was generated from the following file: