|
|
@ -15,11 +15,10 @@
|
|
|
|
ORDER BY i.updated_at DESC")
|
|
|
|
ORDER BY i.updated_at DESC")
|
|
|
|
|
|
|
|
|
|
|
|
(defn find-by-schema! [schema-uuid]
|
|
|
|
(defn find-by-schema! [schema-uuid]
|
|
|
|
(->>
|
|
|
|
(map :i
|
|
|
|
(neo4j/exec-query!
|
|
|
|
(neo4j/exec-query!
|
|
|
|
findy-by-schema
|
|
|
|
findy-by-schema
|
|
|
|
{:uuid schema-uuid})
|
|
|
|
{:uuid schema-uuid})))
|
|
|
|
(map :i)))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(neo4j/defquery create-instance
|
|
|
|
(neo4j/defquery create-instance
|
|
|
|
"MATCH (s:schema {uuid:{schema_uuid}})
|
|
|
|
"MATCH (s:schema {uuid:{schema_uuid}})
|
|
|
|