DAO - работает изменение данных

This commit is contained in:
Антон
2025-09-01 11:55:01 +03:00
parent ffaf251051
commit e9417d9a29
+1 -1
View File
@@ -102,7 +102,7 @@ bool MySQLUserDAO::Update(const User& u)
.bind("uuid", u.GetUUID())
.execute();
return res.getAffectedItemsCount() > 0;
return !!res.getAffectedItemsCount();
}
bool MySQLUserDAO::Delete(string id)