From c06501d6bafc267d245ebafd128db3d05f0c6d4c Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Mon, 15 Jul 2019 13:00:46 +0200 Subject: [PATCH] also delete tag connections --- src/wanijo/instance/domain.clj | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wanijo/instance/domain.clj b/src/wanijo/instance/domain.clj index c25d4dd..4507dbb 100644 --- a/src/wanijo/instance/domain.clj +++ b/src/wanijo/instance/domain.clj @@ -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}))