Skip to content

Commit

Permalink
fix: update paint query
Browse files Browse the repository at this point in the history
  • Loading branch information
210-reverof authored Feb 22, 2024
1 parent eafc0ad commit f586377
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public interface PaintRepository extends Neo4jRepository<Paint, Long> {
"WITH [node in nodes(path) WHERE node:Paint] AS intermediateNodes " +
"UNWIND intermediateNodes AS intermediateNode " +
"MATCH (startNode:Paint)<-[r]->(nextNode) " +
"WHERE startNode = intermediateNode AND type(r) <> 'REPLIES' AND type(r) <> 'REPAINTS' " +
"WHERE startNode = intermediateNode AND type(r) <> 'REPLIES' AND type(r) <> 'REPAINTS' AND type(r) <> 'QUOTES' " +
"RETURN startNode, r, nextNode")
List<Paint> findAllBeforePaintByPid(@Param("pid") Long pid);

Expand Down

0 comments on commit f586377

Please sign in to comment.