|
virtual void | read_attrs (int id_data, std::function< void(std::unique_ptr< wreport::Var >)> dest)=0 |
| Load from the database all the attributes for var. More...
|
|
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 Traits::BulkVars &vars, bulk::UpdateMode update_mode=bulk::UPDATE, bool with_attrs=false)=0 |
| Bulk variable insert.
|
|
virtual void | remove (const v7::IdQueryBuilder &qb)=0 |
| Run the query to delete all records selected by the given QueryBuilder.
|
|
virtual void | dump (FILE *out)=0 |
| Dump the entire contents of the table to an output stream.
|
|
template<typename Traits>
Merge the given attributes with the existing attributes of the given variable:
- Existing attributes not in attrs are preserved.
- Existing attributes in attrs are overwritten.
- New attributes in attrs are inesrted.
template<typename Traits>
The documentation for this class was generated from the following file: