integration-tests
Josha von Gizycki 6 years ago
parent 2beac8fc47
commit 33bda110be

@ -22,11 +22,10 @@
ORDER BY a.name")
(defn find-by-schema! [schema-uuid]
(->>
(neo4j/exec-query!
findy-by-schema
{:uuid schema-uuid})
(map :a)))
(map :a
(neo4j/exec-query!
findy-by-schema
{:uuid schema-uuid})))
(neo4j/defquery create-new
"MATCH (s:schema {uuid:{schema_uuid}}),

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

@ -20,11 +20,10 @@
ORDER BY s.name")
(defn all-created-by! [user-uuid]
(->>
(neo4j/exec-query!
all-created-by
{:uuid user-uuid})
(map :s)))
(map :s
(neo4j/exec-query!
all-created-by
{:uuid user-uuid})))
(neo4j/defquery
all

Loading…
Cancel
Save