From 46c58d6facb0d780bf7d8968be5c54438b1e418f Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Tue, 22 Jan 2019 10:21:56 +0100 Subject: [PATCH] change all-instances query --- src/wanijo/visualisation/domain.clj | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/wanijo/visualisation/domain.clj b/src/wanijo/visualisation/domain.clj index a7a4bbd..0aad22b 100644 --- a/src/wanijo/visualisation/domain.clj +++ b/src/wanijo/visualisation/domain.clj @@ -7,9 +7,7 @@ OPTIONAL MATCH (source)<-[:link_from]-(link:link)-[:link_to]->(target:instance), (target)-[:of]->(target_schema:schema) - WHERE - target IS NULL OR target <> source - RETURN source, link, target, schema, target_schema") + RETURN source, schema, link, target, target_schema") (defn all-instance-connections! [] (neo4j/exec-query! all-instance-connections {}))