diff --git a/cypher/convertQuery.go b/cypher/convertQuery.go index 28f36199ace47650fa3fd5cb850910955d272460..d0db4fc385f01c52b37fe2c2855021166eb3dcad 100644 --- a/cypher/convertQuery.go +++ b/cypher/convertQuery.go @@ -171,7 +171,7 @@ func createQuery(JSONQuery *entity.IncomingQueryJSON) *string { if !nodeSet[entityIndex] { // If not, return this node name := fmt.Sprintf("n%v", entityIndex) - ret += *createNodeMatch(&JSONQuery.Entities[entityIndex], &name) + ret += *createNodeMatch(&JSONQuery.Entities[entityIndex], &name) // Add this node to the list nodesToReturn = append(nodesToReturn, name) ret += fmt.Sprintf("RETURN %v", name)