also delete tag connections

integration-tests
Josha von Gizycki 5 years ago
parent 384c0b3b04
commit c06501d6ba

@ -170,8 +170,9 @@
(p:property)-[pc:of]->(i),
(p)-[pac:of]->(a:attribute),
(i)-[lt:link_to]->(),
(i)<-[lf:link_from]-()
DELETE pac, pc, cb, ic, p, lt, lf, i")
(i)<-[lf:link_from]-(),
(i)-[tw:tagged_with]->()
DELETE pac, pc, cb, ic, p, lt, lf, tw, i")
(defn delete! [uuid]
(neo4j/exec-query! delete {:uuid uuid}))

Loading…
Cancel
Save