Let's make (git) history!
This commit is contained in:
18
database/categorydaosqlite.h
Normal file
18
database/categorydaosqlite.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef CATEGORYDAOSQLITE_H
|
||||
#define CATEGORYDAOSQLITE_H
|
||||
|
||||
#include "categorydao.h"
|
||||
#include "sqlitedao.h"
|
||||
class CategoryDaoSqlite : public CategoryDao, protected SqliteDao
|
||||
{
|
||||
public:
|
||||
CategoryDaoSqlite();
|
||||
std::vector<std::string> fetchList(QueryOption o) override;
|
||||
std::vector<std::string> fetchMembers(std::string name, QueryOption o) override;
|
||||
void save(const Category &c) override;
|
||||
void deleteCategory(std::string name) override;
|
||||
std::optional<Category> find(std::string name) override;
|
||||
using SqliteDao::SqliteDao;
|
||||
};
|
||||
|
||||
#endif // CATEGORYDAOSQLITE_H
|
Reference in New Issue
Block a user