diff --git a/src/query/interpret/awesome_memgraph_functions.cpp b/src/query/interpret/awesome_memgraph_functions.cpp index 9959b5d73..e9e788f25 100644 --- a/src/query/interpret/awesome_memgraph_functions.cpp +++ b/src/query/interpret/awesome_memgraph_functions.cpp @@ -953,22 +953,6 @@ TypedValue Substring(TypedValue *args, int64_t nargs, const EvaluationContext &, return TypedValue(utils::Substr(str, start, len), memory); } -#if MG_SINGLE_NODE -TypedValue Dump(TypedValue *args, int64_t nargs, const EvaluationContext &, - database::GraphDbAccessor *dba) { - if (nargs != 0) { - throw QueryRuntimeException("'dump' does not expect any arguments."); - } - - std::vector queries; - database::CypherDumpGenerator dump(dba); - for (std::ostringstream oss; dump.NextQuery(&oss); oss.str("")) { - queries.emplace_back(oss.str()); - } - return queries; -} -#endif // MG_SINGLE_NODE - } // namespace std::function