mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-05-19 14:15:02 -04:00
28 lines
692 B
C++
28 lines
692 B
C++
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#include "QuerySMSGetByID.hpp"
|
|
|
|
namespace db::query
|
|
{
|
|
SMSGetByID::SMSGetByID(unsigned int id) : Query(Query::Type::Read), id(id)
|
|
{}
|
|
|
|
auto SMSGetByID::debugInfo() const -> std::string
|
|
{
|
|
return "SMSGetByID";
|
|
}
|
|
|
|
SMSGetByIDResult::SMSGetByIDResult(SMSRecord result) : result(std::move(result))
|
|
{}
|
|
auto SMSGetByIDResult::getResults() const -> SMSRecord
|
|
{
|
|
return result;
|
|
}
|
|
auto SMSGetByIDResult::debugInfo() const -> std::string
|
|
{
|
|
return "SMSGetByIDResult";
|
|
}
|
|
|
|
} // namespace db::query
|