mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-10-26 08:28:29 -04:00
26 lines
573 B
C++
26 lines
573 B
C++
#include "QueryNotificationsIncrement.hpp"
|
|
|
|
namespace db::query::notifications
|
|
{
|
|
Increment::Increment(NotificationsRecord::Key key) : Query(Query::Type::Update), key(key)
|
|
{}
|
|
|
|
auto Increment::debugInfo() const -> std::string
|
|
{
|
|
return "Increment";
|
|
}
|
|
|
|
IncrementResult::IncrementResult(bool ret) : ret(ret)
|
|
{}
|
|
|
|
auto IncrementResult::getResult() const -> bool
|
|
{
|
|
return ret;
|
|
}
|
|
|
|
auto IncrementResult::debugInfo() const -> std::string
|
|
{
|
|
return "IncrementResult";
|
|
}
|
|
} // namespace db::query::notifications
|