ExecutionPlan gets the execution plan for given query.
(q string)
| 69 | |
| 70 | // ExecutionPlan gets the execution plan for given query. |
| 71 | func (g *Graph) ExecutionPlan(q string) (string, error) { |
| 72 | return redis.String(g.Conn.Do("GRAPH.EXPLAIN", g.Id, q)) |
| 73 | } |
| 74 | |
| 75 | // Delete removes the graph. |
| 76 | func (g *Graph) Delete() error { |