Aktualizr
C++ SOTA Client
All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | List of all members
SQLite3Guard Class Reference

Public Member Functions

sqlite3 * get ()
 
int get_rc ()
 
 SQLite3Guard (const char *path, bool readonly)
 
 SQLite3Guard (const boost::filesystem::path &path, bool readonly=false)
 
 SQLite3Guard (SQLite3Guard &&guard) noexcept
 
 SQLite3Guard (const SQLite3Guard &guard)=delete
 
SQLite3Guard operator= (const SQLite3Guard &guard)=delete
 
int exec (const char *sql, int(*callback)(void *, int, char **, char **), void *cb_arg)
 
int exec (const std::string &sql, int(*callback)(void *, int, char **, char **), void *cb_arg)
 
template<typename... Types>
SQLiteStatement prepareStatement (const std::string &zSql, const Types &... args)
 
std::string errmsg () const
 
bool beginTransaction ()
 
bool commitTransaction ()
 
bool rollbackTransaction ()
 

Detailed Description

Definition at line 125 of file sql_utils.h.


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