Add fetching values from the execution row

This commit is contained in:
Josip Mrden 2024-03-21 13:14:50 +01:00
parent 75d8a216c3
commit c85e510faa

View File

@ -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<Parameter> &parameters,