Skip to content

Commit 5b449f3

Browse files
authored
Fix copy code exmaple
1 parent e938f75 commit 5b449f3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

commands/graph.copy.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ parent: "Commands"
99

1010
Usage: `GRAPH.COPY <src> <dest>`
1111

12-
The `GRAPH.COPY` command creates a copy of a graph, while the copy is performed
13-
the `src` graph is fully accessible.
12+
The GRAPH.COPY command creates a copy of a graph while leaving the source graph fully accessible.
1413

1514
Example:
1615

@@ -45,7 +44,7 @@ graph_a = db.select_graph('A')
4544
result = graph_a.query('CREATE (:Account {number: 516637})')
4645

4746
# Copy Graph 'A' to 'Z'
48-
graph_z = graph_a.copy('A', 'Z')
47+
graph_z = graph_a.copy('Z')
4948

5049
# Graphs list including 'A' and 'Z'
5150
graph_list = db.list()

0 commit comments

Comments
 (0)