generated from Sithas/conan_template
40 lines
591 B
C++
40 lines
591 B
C++
#include "MySQLUserDAO.h"
|
|
|
|
using namespace std;
|
|
using namespace string_literals;
|
|
|
|
namespace uad
|
|
{
|
|
MySQLUserDAO::MySQLUserDAO(mysqlx::Session& session): session_(session)
|
|
{
|
|
}
|
|
|
|
string MySQLUserDAO::Create(const User& created_user)
|
|
{
|
|
return ""s;
|
|
}
|
|
|
|
optional<User> MySQLUserDAO::GetByGUID(string guid)
|
|
{
|
|
return nullopt;
|
|
}
|
|
|
|
vector<User> MySQLUserDAO::GetAll()
|
|
{
|
|
auto const sql_query = session_.getSchemas();
|
|
sql_query.
|
|
vector<User> users {};
|
|
|
|
return {};
|
|
}
|
|
|
|
bool MySQLUserDAO::Update(const User& u)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool MySQLUserDAO::Delete(string id)
|
|
{
|
|
return false;
|
|
}
|
|
} // uad
|