libdballe 9.11
|
Public Member Functions | |
PostgreSQLDataCommon (v7::Transaction &tr, dballe::sql::PostgreSQLConnection &conn) | |
PostgreSQLDataCommon (const PostgreSQLDataCommon &)=delete | |
PostgreSQLDataCommon (const PostgreSQLDataCommon &&)=delete | |
PostgreSQLDataCommon & | operator= (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::PostgreSQLConnection & | conn |
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 |