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