|
|
@ -7,9 +7,7 @@
|
|
|
|
OPTIONAL MATCH
|
|
|
|
OPTIONAL MATCH
|
|
|
|
(source)<-[:link_from]-(link:link)-[:link_to]->(target:instance),
|
|
|
|
(source)<-[:link_from]-(link:link)-[:link_to]->(target:instance),
|
|
|
|
(target)-[:of]->(target_schema:schema)
|
|
|
|
(target)-[:of]->(target_schema:schema)
|
|
|
|
WHERE
|
|
|
|
RETURN source, schema, link, target, target_schema")
|
|
|
|
target IS NULL OR target <> source
|
|
|
|
|
|
|
|
RETURN source, link, target, schema, target_schema")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(defn all-instance-connections! []
|
|
|
|
(defn all-instance-connections! []
|
|
|
|
(neo4j/exec-query! all-instance-connections {}))
|
|
|
|
(neo4j/exec-query! all-instance-connections {}))
|
|
|
|