Skip to content

Commit

Permalink
Fix Neo4jGraphService (#2678)
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Aug 18, 2021
1 parent 5527e6c commit a08f80d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public RelatedEntitiesResult findRelatedEntities(
matchTemplate = "MATCH (src%s %s)-[r%s %s]->(dest%s %s)";
}

final String returnNodes = "RETURN dest, type(r)"; // Return both related entity and the relationship type.
final String returnNodes = String.format("RETURN dest%s, type(r)", destinationType); // Return both related entity and the relationship type.
final String returnCount = "RETURN count(*)"; // For getting the total results.

String relationshipTypeFilter = "";
Expand Down

0 comments on commit a08f80d

Please sign in to comment.