Skip to content

Commit

Permalink
fixed delete query
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Solender committed Sep 10, 2021
1 parent 78ffef3 commit d361f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion save.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func removeRelations(transaction neo4j.Transaction, dels map[int64][]int64) erro
}).V(dsl.V{
Name: "end",
}).Build()).
Cypher("WHERE id(start) = row.startNodeId and id(end) = row.endNodeIds").
Cypher("WHERE id(start) = row.startNodeId and id(end) in row.endNodeIds").
Delete(false, "e").
ToCypher()
if err != nil {
Expand Down

0 comments on commit d361f43

Please sign in to comment.