StoreOps.
More...
#include <store.h>
|
static bool | storeData (QSqlDatabase &db, Craplog &craplog, const std::vector< std::unordered_map< int, std::string > > &data) |
| Stores the data collection in the logs Collection database. More...
|
|
StoreOps.
Operations to store logs data
◆ storeData()
bool StoreOps::storeData |
( |
QSqlDatabase & |
db, |
|
|
Craplog & |
craplog, |
|
|
const std::vector< std::unordered_map< int, std::string > > & |
data |
|
) |
| |
|
static |
Stores the data collection in the logs Collection database.
- Parameters
-
db | A database instance, already initizlized |
craplog | The Craplog instance |
data | The logs data collection |
- Returns
- Whether the operation has been successful or not
- Exceptions
-
The documentation for this class was generated from the following files:
- logdoctor/modules/craplog/modules/store.h
- logdoctor/modules/craplog/modules/store.cpp