generated from Sithas/conan_template
1-я неудачная попытка достать ланные через Session
This commit is contained in:
@@ -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()
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user