We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7bc30a commit 6941459Copy full SHA for 6941459
graph.go
@@ -75,6 +75,12 @@ func (g *Graph) ExecutionPlan(q string) (string, error) {
75
// Delete removes the graph.
76
func (g *Graph) Delete() error {
77
_, err := g.Conn.Do("GRAPH.DELETE", g.Id)
78
+
79
+ // clear internal mappings
80
+ g.labels = g.labels[:0]
81
+ g.properties = g.properties[:0]
82
+ g.relationshipTypes = g.relationshipTypes[:0]
83
84
return err
85
}
86
0 commit comments