mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-05-19 14:15:02 -04:00
26 lines
746 B
C++
26 lines
746 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 "QuerySMSGetLastByThreadID.hpp"
|
|
|
|
using namespace std::string_literals;
|
|
|
|
namespace db::query
|
|
{
|
|
SMSGetLastByThreadID::SMSGetLastByThreadID(unsigned int _threadId) : Query{Query::Type::Read}, threadId{_threadId}
|
|
{}
|
|
|
|
std::string SMSGetLastByThreadID::debugInfo() const
|
|
{
|
|
return "SMSGetLastByThreadID"s;
|
|
}
|
|
|
|
SMSGetLastByThreadIDResult::SMSGetLastByThreadIDResult(const std::optional<SMSRecord> &_record) : record{_record}
|
|
{}
|
|
|
|
std::string SMSGetLastByThreadIDResult::debugInfo() const
|
|
{
|
|
return "SMSGetLastByThreadIDResult"s;
|
|
}
|
|
} // namespace db::query
|