#pragma once // !! DEPRICATED !! // TODO: DELETE #include #include #include #include #include "storage/model/properties/properties.hpp" template struct ResultList { using sptr = std::shared_ptr; using data_t = std::vector *>; ResultList() = default; ResultList(ResultList &other) = delete; ResultList(ResultList &&other) = default; ResultList(data_t &&data) : data(std::forward(data)) {} explicit operator bool() const { return data.size() > 0; } std::vector *> data; }; template struct QueryResult { using sptr = std::shared_ptr; using data_t = std::unordered_map::sptr>; QueryResult() = default; QueryResult(QueryResult &other) = delete; QueryResult(QueryResult &&other) = default; QueryResult(data_t &&data) : data(std::forward(data)) {} explicit operator bool() const { return data.size() > 0; } data_t data; };