Skip to content
Snippets Groups Projects
Commit 38aa4f64 authored by Bouma,C.J. (Chris)'s avatar Bouma,C.J. (Chris)
Browse files

Made tests work for quant queries

Yay!
parent b28f6b91
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ func (s *Service) ConvertQuery(jsonMsg *[]byte) (*string, *string, error) {
fmt.Println(err)
return nil, nil, err
}
fmt.Println("We made it past the initial error checking")
//fmt.Println("We made it past the initial error checking")
// Check to make sure all indexes exist
// How many entities are there
......@@ -346,7 +346,7 @@ func createRelationLetWithFromEntity(relation *entity.QueryRelationStruct, name
// Dont use a limit on quantifing queries
footer := ""
if limit != -1 {
footer += fmt.Sprintf("\tLIMIT %v", limit)
footer += fmt.Sprintf("\tLIMIT %v \n", limit)
}
footer += "RETURN DISTINCT p )\n"
......@@ -374,7 +374,7 @@ func createRelationLetWithOnlyToEntity(relation *entity.QueryRelationStruct, nam
// Dont use a limit on quantifing queries
footer := ""
if limit != -1 {
footer += fmt.Sprintf("\tLIMIT %v", limit)
footer += fmt.Sprintf("\tLIMIT %v \n", limit)
}
footer += "RETURN DISTINCT p )\n"
......
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