1-я неудачная попытка достать ланные через Session

This commit is contained in:
Антон
2025-08-28 09:46:22 +03:00
parent 516b65fc1a
commit 942d5f3da9
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -21,6 +21,10 @@ optional<User> MySQLUserDAO::GetByGUID(string guid)
vector<User> MySQLUserDAO::GetAll() vector<User> MySQLUserDAO::GetAll()
{ {
auto const sql_query = session_.getSchemas();
sql_query.
vector<User> users {};
return {}; return {};
} }
@@ -25,6 +25,8 @@ public:
boost::beast::http::request<Body, boost::beast::http::basic_fields<Allocator>>&& req boost::beast::http::request<Body, boost::beast::http::basic_fields<Allocator>>&& req
) override ) override
{ {
auto metadata = user_dao_->GetAll();
boost::beast::http::response<ResponseType> res{ boost::beast::http::response<ResponseType> res{
boost::beast::http::status::ok, req.version() boost::beast::http::status::ok, req.version()
}; };