Add fetching values from the execution row
This commit is contained in:
parent
75d8a216c3
commit
c85e510faa
@ -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> ¶meters,
|
||||
|
Loading…
Reference in New Issue
Block a user