1 #ifndef DBALLE_DB_V6_MYSQL_ATTRV6_H
2 #define DBALLE_DB_V6_MYSQL_ATTRV6_H
4 #include <dballe/db/v6/attrv6.h>
29 void read(
int id_data, std::function<
void(std::unique_ptr<wreport::Var>)> dest)
override;
30 void dump(FILE* out)
override;
void dump(FILE *out) override
Dump the entire contents of the table to an output stream.
Forward declarations for public dballe/sql names.
Precompiled queries to manipulate the attr table.
Definition: mysql/attrv6.h:15
A RAII transaction interface.
Definition: sql.h:133
void insert(dballe::sql::Transaction &t, v6::bulk::InsertAttrsV6 &vars, UpdateMode update_mode=UPDATE) override
Bulk attribute insert.
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::MySQLConnection & conn
DB connection.
Definition: mysql/attrv6.h:19
Precompiled queries to manipulate the attr table.
Definition: attrv6.h:26
Database connection.
Definition: mysql.h:126