Database connection.
Definition: postgresql.h:240
void read(int id_data, std::function< void(std::unique_ptr< wreport::Var >)> dest) override
Load from the database all the attributes for var.
dballe::sql::PostgreSQLConnection & conn
DB connection.
Definition: postgresql/attrv6.h:19
void dump(FILE *out) override
Dump the entire contents of the table to an output stream.
void insert(dballe::sql::Transaction &t, v6::bulk::InsertAttrsV6 &vars, UpdateMode update_mode=UPDATE) override
Bulk attribute insert.
Precompiled queries to manipulate the attr table.
Definition: postgresql/attrv6.h:15