Skip to content
Snippets Groups Projects
Commit 35dbbd76 authored by Fjodor's avatar Fjodor
Browse files

fixed string splitter @Lorenzo & @Thijs

parent 46ad1de9
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment