From 35dbbd767c7b6b2668407ccff8516e93f3c18391 Mon Sep 17 00:00:00 2001 From: Fjodor <fjodor_rs@hotmail.com> Date: Mon, 14 Jun 2021 12:21:20 +0200 Subject: [PATCH] fixed string splitter @Lorenzo & @Thijs --- cypher/convertQuery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypher/convertQuery.go b/cypher/convertQuery.go index 28f3619..d0db4fc 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) -- GitLab