Files
MuditaOS/module-db/Interface/Record.cpp
Marcin Smoczyński 885fe1083a db: improve query handling
Introduce a new way to handle query responses allowing to deal with
races:
 - bind reponse with request,
 - handle responses with an observer-like interface.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-08-06 14:13:35 +02:00

14 lines
332 B
C++

#include "Record.hpp"
#include <Common/Query.hpp>
#include <log/log.hpp>
namespace db
{
std::unique_ptr<QueryResult> Interface::runQuery(std::shared_ptr<db::Query> query)
{
LOG_DEBUG("Query not handled! debugInfo: %s", query ? query->debugInfo().c_str() : "empty");
return nullptr;
}
} // namespace db