Skip to content

Commit

Permalink
feat: split delete all query for powers in transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenSrcerer committed Apr 20, 2024
1 parent 7ca10c6 commit 99e318d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class PowerRepository : AbstractNeo4jRepository() {
(dx:Daemon { id: "$daemonId" })
-[:DRAWS]->
(px:Power)
DETACH DELETE px
CALL { WITH px DETACH DELETE px } IN TRANSACTIONS
"""

session.query<Power>(query)
Expand Down

0 comments on commit 99e318d

Please sign in to comment.