![]() |
Belle II Software
release-08-02-04
|
Simple wrapper for a SQLite database connection. More...
#include <sqlite.h>

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. | |