generated from Sithas/conan_template
Бор DAO и User Entity
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
#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()
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
bool MySQLUserDAO::Update(const User& u)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool MySQLUserDAO::Delete(string id)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
} // uad
|
||||
Reference in New Issue
Block a user