Database: PageDao/CategoryDao: Return 'Page' object, not pagename string

这个提交包含在:
2022-04-03 11:11:28 +02:00
父节点 5f83981d68
当前提交 622ef5af6a
共有 9 个文件被更改,包括 43 次插入27 次删除

查看文件

@@ -3,12 +3,13 @@
#include "categorydao.h"
#include "sqlitedao.h"
#include "../page.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;
std::vector<Page> 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;