|
|
|
@ -82,8 +82,8 @@
|
|
|
|
|
(if-let [prop (:p row)]
|
|
|
|
|
(update instance
|
|
|
|
|
:properties
|
|
|
|
|
conj (assoc prop :attr
|
|
|
|
|
(:a row)))
|
|
|
|
|
conj (assoc prop
|
|
|
|
|
:attr (:a row)))
|
|
|
|
|
instance))
|
|
|
|
|
instance
|
|
|
|
|
res)))
|
|
|
|
@ -151,7 +151,7 @@
|
|
|
|
|
(neo4j/defquery components-of-module
|
|
|
|
|
"MATCH (module:instance {uuid:{uuid}}),
|
|
|
|
|
(cschema:schema {uuid:{compschema_uuid}}),
|
|
|
|
|
(comp:instance)-[:of]->(schema),
|
|
|
|
|
(comp:instance)-[:of]->(cschema),
|
|
|
|
|
(module)--(:link)--(comp)
|
|
|
|
|
RETURN comp
|
|
|
|
|
ORDER BY comp.name")
|
|
|
|
|