|
libdballe
7.21
|
Precompiled query to manipulate the data table. More...
#include <data.h>
Public Member Functions | |
| SQLiteData (dballe::sql::SQLiteConnection &conn) | |
| void | insert (dballe::db::v7::Transaction &t, v7::bulk::InsertVars &vars, bulk::UpdateMode update_mode=bulk::UPDATE, bool with_attrs=false) override |
| void | dump (FILE *out) override |
| Dump the entire contents of the table to an output stream. | |
Public Member Functions inherited from dballe::db::v7::sqlite::SQLiteDataCommon< DataTraits > | |
| SQLiteDataCommon (dballe::sql::SQLiteConnection &conn) | |
| SQLiteDataCommon (const SQLiteDataCommon &)=delete | |
| SQLiteDataCommon (const SQLiteDataCommon &&)=delete | |
| SQLiteDataCommon & | operator= (const SQLiteDataCommon &)=delete |
| void | read_attrs (int id_data, std::function< void(std::unique_ptr< wreport::Var >)> dest) override |
| Load from the database all the attributes for var. More... | |
| void | write_attrs (int id_data, const Values &values) override |
| Replace the attributes of a variable with those in Values. | |
| void | remove_all_attrs (int id_data) override |
| Remove all attributes from a variable. | |
| void | remove (const v7::IdQueryBuilder &qb) override |
| Run the query to delete all records selected by the given QueryBuilder. | |
Public Member Functions inherited from dballe::db::v7::DataCommon< DataTraits > | |
| void | merge_attrs (int id_data, const Values &attrs) |
| Merge the given attributes with the existing attributes of the given variable: More... | |
| void | remove_attrs (int data_id, const db::AttrList &attrs) |
| Remove the given attributes from the given variable, if they exist. | |
| virtual void | insert (dballe::db::v7::Transaction &t, typename DataTraits ::BulkVars &vars, bulk::UpdateMode update_mode=bulk::UPDATE, bool with_attrs=false)=0 |
| Bulk variable insert. | |
Additional Inherited Members | |
Protected Member Functions inherited from dballe::db::v7::DataCommon< DataTraits > | |
| void | read_attrs_into_values (int id_data, Values &values) |
| Load attributes from the database into a Values. | |
Protected Attributes inherited from dballe::db::v7::sqlite::SQLiteDataCommon< DataTraits > | |
| dballe::sql::SQLiteConnection & | conn |
| DB connection. | |
| dballe::sql::SQLiteStatement * | read_attrs_stm |
| Precompiled read attributes statement. | |
| dballe::sql::SQLiteStatement * | write_attrs_stm |
| Precompiled write attributes statement. | |
| dballe::sql::SQLiteStatement * | remove_attrs_stm |
| Precompiled remove attributes statement. | |
| dballe::sql::SQLiteStatement * | sstm |
| Precompiled select statement. | |
| dballe::sql::SQLiteStatement * | istm |
| Precompiled insert statement. | |
| dballe::sql::SQLiteStatement * | ustm |
| Precompiled update statement. | |
Precompiled query to manipulate the data table.
1.8.13