libdballe  8.6
Public Member Functions | Protected Attributes | List of all members
dballe::db::v7::sqlite::SQLiteDataCommon< Parent > Class Template Reference
Inheritance diagram for dballe::db::v7::sqlite::SQLiteDataCommon< Parent >:

Public Member Functions

 SQLiteDataCommon (v7::Transaction &tr, dballe::sql::SQLiteConnection &conn)
 
 SQLiteDataCommon (const SQLiteDataCommon &)=delete
 
 SQLiteDataCommon (const SQLiteDataCommon &&)=delete
 
SQLiteDataCommon & operator= (const SQLiteDataCommon &)=delete
 
void update (Tracer<> &trc, std::vector< typename Parent::BatchValue > &vars, bool with_attrs) override
 
void read_attrs (Tracer<> &trc, int id_data, std::function< void(std::unique_ptr< wreport::Var >)> dest) override
 
void write_attrs (Tracer<> &trc, int id_data, const Values &values) override
 
void remove_all_attrs (Tracer<> &trc, int id_data) override
 
void remove (Tracer<> &trc, const v7::IdQueryBuilder &qb) override
 
void remove_by_id (Tracer<> &trc, int id) override
 

Protected Attributes

dballe::sql::SQLiteConnection & conn
 DB connection.
 
dballe::sql::SQLiteStatement * read_attrs_stm = nullptr
 Precompiled read attributes statement.
 
dballe::sql::SQLiteStatement * write_attrs_stm = nullptr
 Precompiled write attributes statement.
 
dballe::sql::SQLiteStatement * remove_attrs_stm = nullptr
 Precompiled remove attributes statement.
 
dballe::sql::SQLiteStatement * sstm = nullptr
 Precompiled select statement.
 
dballe::sql::SQLiteStatement * istm = nullptr
 Precompiled insert statement.
 
dballe::sql::SQLiteStatement * ustm = nullptr
 Precompiled update statement.
 

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