MCPcopy Create free account
hub / github.com/RedisGraph/redisgraph-go / Delete

Method Delete

graph.go:76–79  ·  view source on GitHub ↗

Delete removes the graph.

()

Source from the content-addressed store, hash-verified

74
75// Delete removes the graph.
76func (g *Graph) Delete() error {
77 _, err := g.Conn.Do("GRAPH.DELETE", g.Id)
78 return err
79}
80
81// Flush will create the graph and clear it
82func (g *Graph) Flush() (*QueryResult, error) {

Callers 2

TestQueryStatisticsFunction · 0.80
TestNodeMapDatatypeFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestQueryStatisticsFunction · 0.64
TestNodeMapDatatypeFunction · 0.64