The sqlite_t class Wrapper for sqlite3 struct to make use of std::shared_ptr.
More...
#include <cache.h>
The sqlite_t class Wrapper for sqlite3 struct to make use of std::shared_ptr.
Definition at line 141 of file cache.h.
◆ sqlite_t()
Cache::sqlite_t::sqlite_t |
( |
const std::string & |
filename, |
|
|
int |
flags, |
|
|
const char * |
zVfs = nullptr |
|
) |
| |
|
explicit |
◆ ~sqlite_t()
Cache::sqlite_t::~sqlite_t |
( |
| ) |
|
|
virtual |
◆ filename()
const std::string & Cache::sqlite_t::filename |
( |
| ) |
const |
|
inline |
Get current database file name.
- Returns
- Returns current database file name
Definition at line 181 of file cache.h.
References m_filename.
◆ operator sqlite3 *()
Cache::sqlite_t::operator sqlite3 * |
( |
| ) |
|
|
inline |
◆ ret()
int Cache::sqlite_t::ret |
( |
| ) |
const |
|
inline |
Return code of last Sqlite operation.
- Returns
- Returns result code of last Sqlite operation
Definition at line 160 of file cache.h.
References m_ret.
◆ m_db_handle
sqlite3* Cache::sqlite_t::m_db_handle |
|
protected |
◆ m_delete_stmt
Prepared delete statement.
Definition at line 190 of file cache.h.
◆ m_filename
std::string Cache::sqlite_t::m_filename |
|
protected |
◆ m_insert_stmt
Prepared insert statement.
Definition at line 189 of file cache.h.
◆ m_ret
int Cache::sqlite_t::m_ret |
|
protected |
◆ m_select_stmt
Prepared select statement.
Definition at line 188 of file cache.h.
The documentation for this class was generated from the following files: