Skip to content
Snippets Groups Projects
Commit dd349f8b authored by Jonge,J. de (Joes)'s avatar Jonge,J. de (Joes)
Browse files

Chagned strings so the query does give output

parent 9185af69
No related branches found
No related tags found
1 merge request!1Big merge
......@@ -420,10 +420,10 @@ func createTableWithFunctions(functions []entity.QueryFunctionStruct, relations
result += "RETURN {"
if len(functions) > 1 {
for l := 0; l < len(functions)-1; l++ {
result += "function_" + strconv.Itoa(functions[l].TypeID) + "[0], "
result += "function_" + strconv.Itoa(functions[l].TypeID) + ", "
}
}
result += "function_" + strconv.Itoa(functions[len(functions)-1].TypeID) + "[0]}"
result += "function_" + strconv.Itoa(functions[len(functions)-1].TypeID) + "}"
return result
}
......
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