generated from Sithas/conan_template
DAO - доведение до конца
This commit is contained in:
@@ -58,14 +58,13 @@ pair<bool, vector<User>> MySQLUserDAO::GetAll(size_t limit, size_t offset)
|
||||
|
||||
if (!rows.size())
|
||||
{
|
||||
ret.first = true
|
||||
;
|
||||
ret.first = true;
|
||||
ret.second = vector<User>{};
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret.first = rows.size() < limit + 1;
|
||||
ret.first = rows.size() == limit + 1;
|
||||
ret.second = vector<User>{};
|
||||
|
||||
ret.second.reserve(limit);
|
||||
|
||||
Reference in New Issue
Block a user