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

Public Member Functions

 PostgreSQLDataCommon (v7::Transaction &tr, dballe::sql::PostgreSQLConnection &conn)
 
 PostgreSQLDataCommon (const PostgreSQLDataCommon &)=delete
 
 PostgreSQLDataCommon (const PostgreSQLDataCommon &&)=delete
 
PostgreSQLDataCommonoperator= (const PostgreSQLDataCommon &)=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::PostgreSQLConnectionconn
 DB connection.
 
std::string select_attrs_query_name
 
std::string write_attrs_query_name
 
std::string remove_attrs_query_name
 
std::string remove_data_query_name
 

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