// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "QuerySMSGetByThreadID.hpp" namespace db::query { SMSGetByThreadID::SMSGetByThreadID(unsigned int threadId, unsigned int offset, unsigned int limit) : Query(Query::Type::Read), threadId(threadId), offset(offset), limit(limit) {} auto SMSGetByThreadID::debugInfo() const -> std::string { return "SMSGetByThreadID"; } SMSGetByThreadIDResult::SMSGetByThreadIDResult(std::vector result) : result(std::move(result)) {} auto SMSGetByThreadIDResult::getResults() const -> std::vector { return result; } auto SMSGetByThreadIDResult::debugInfo() const -> std::string { return "SMSGetByThreadIDResult"; } } // namespace db::query