Compare commits

...

1 Commits

Author SHA1 Message Date
Andreja Tonev
fa934e8773 Throw excpetion if ANALYZE GRAPH finds no indices 2023-09-28 19:09:17 +02:00

View File

@@ -1912,6 +1912,10 @@ std::vector<std::vector<TypedValue>> AnalyzeGraphQueryHandler::AnalyzeGraphCreat
results.push_back(std::move(result));
});
if (results.empty()) {
throw QueryException("No index with specified labels found.");
}
return results;
}