database: Add fetch() for SessionDao

此提交包含在:
2023-02-01 18:54:11 +01:00
父節點 48e3614e78
當前提交 b9595bd513
共有 3 個檔案被更改,包括 49 行新增19 行删除

查看文件

@@ -10,6 +10,7 @@ class SessionDao
virtual void save(const Session &session) = 0;
virtual std::optional<Session> find(std::string token) = 0;
virtual void deleteSession(std::string token) = 0;
virtual std::vector<Session> fetch() = 0;
virtual ~SessionDao()
{
}