libdballe 9.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
 
SQLiteDataCommonoperator= (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::SQLiteConnectionconn
 DB connection.
 
dballe::sql::SQLiteStatementread_attrs_stm = nullptr
 Precompiled read attributes statement.
 
dballe::sql::SQLiteStatementwrite_attrs_stm = nullptr
 Precompiled write attributes statement.
 
dballe::sql::SQLiteStatementremove_attrs_stm = nullptr
 Precompiled remove attributes statement.
 
dballe::sql::SQLiteStatementsstm = nullptr
 Precompiled select statement.
 
dballe::sql::SQLiteStatementistm = nullptr
 Precompiled insert statement.
 
dballe::sql::SQLiteStatementustm = nullptr
 Precompiled update statement.
 

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