GraphDbAccessor - style change
Summary: Not strictly neccessary, but it's been itching me. It took an hour. Reviewers: buda, mislav.bradac Reviewed By: mislav.bradac Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D648
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
#include "query/frontend/stripped.hpp"
|
||||
#include "query/parameters.hpp"
|
||||
#include "query/plan_interface.hpp"
|
||||
#include "query/frontend/stripped.hpp"
|
||||
#include "query/typed_value.hpp"
|
||||
#include "using.hpp"
|
||||
|
||||
@@ -17,7 +17,8 @@ class CPUPlan : public PlanInterface<Stream> {
|
||||
public:
|
||||
bool run(GraphDbAccessor &db_accessor, const Parameters &args,
|
||||
Stream &stream) {
|
||||
for (auto v : db_accessor.vertices(false)) db_accessor.detach_remove_vertex(v);
|
||||
for (auto v : db_accessor.Vertices(false))
|
||||
db_accessor.DetachRemoveVertex(v);
|
||||
std::vector<std::string> headers;
|
||||
stream.Header(headers);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user