diff --git a/include/mgp.hpp b/include/mgp.hpp index a792197c8..6cb2a058a 100644 --- a/include/mgp.hpp +++ b/include/mgp.hpp @@ -1630,6 +1630,8 @@ class ExecutionRow { /// @brief Returns true if the given `key` exists. bool KeyExists(std::string_view key) const; + + mgp::Map Values() const; }; class ExecutionResult { @@ -4446,6 +4448,8 @@ inline Value ExecutionRow::At(std::string_view key) const { return row_.At(key); inline bool ExecutionRow::KeyExists(std::string_view key) const { return row_.KeyExists(key); } +inline mgp::Map ExecutionRow::Values() const {return mgp::Map(row_)}; + // do not enter namespace detail { inline void AddParamsReturnsToProc(mgp_proc *proc, std::vector ¶meters,