#pragma once #include #include #include #include #include "storage/model/properties/properties.hpp" struct ResultList { using sptr = std::shared_ptr; using data_t = std::vector; ResultList() = delete; ResultList(ResultList& other) = delete; ResultList(ResultList&& other) = default; ResultList(data_t&& data) : data(std::forward(data)) {} std::vector data; }; struct QueryResult { using sptr = std::shared_ptr; using data_t = std::unordered_map; QueryResult() = delete; QueryResult(QueryResult& other) = delete; QueryResult(QueryResult&& other) = default; QueryResult(data_t&& data) : data(std::forward(data)) {} data_t data; };