Skip to content

Commit

Permalink
Merge pull request #37588 from marko-bekhta/doc/update-cypher-script
Browse files Browse the repository at this point in the history
Update the import.cypher script to use newer syntax
  • Loading branch information
gsmet authored Dec 7, 2023
2 parents c93b469 + f905668 commit f04238b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/native-reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -846,8 +846,8 @@ we need the following cypher script which will import the data within the CSV fi

[source,cypher]
----
CREATE CONSTRAINT unique_vm_id ON (v:VM) ASSERT v.vmId IS UNIQUE;
CREATE CONSTRAINT unique_method_id ON (m:Method) ASSERT m.methodId IS UNIQUE;
CREATE CONSTRAINT unique_vm_id FOR (v:VM) REQUIRE v.vmId IS UNIQUE;
CREATE CONSTRAINT unique_method_id FOR (m:Method) REQUIRE m.methodId IS UNIQUE;
LOAD CSV WITH HEADERS FROM 'file:///reports/call_tree_vm.csv' AS row
MERGE (v:VM {vmId: row.Id, name: row.Name})
Expand Down

0 comments on commit f04238b

Please sign in to comment.