|
|
@ -32,9 +32,8 @@
|
|
|
|
(map :a)))
|
|
|
|
(map :a)))
|
|
|
|
|
|
|
|
|
|
|
|
(neo4j/defquery create-new
|
|
|
|
(neo4j/defquery create-new
|
|
|
|
"MATCH (u:user)--(s:schema)
|
|
|
|
"MATCH (s:schema {uuid:{schema_uuid}}),
|
|
|
|
WHERE u.uuid = {user_uuid}
|
|
|
|
(u:user {uuid:{user_uuid}})
|
|
|
|
AND s.uuid = {schema_uuid}
|
|
|
|
|
|
|
|
CREATE (a:attribute)
|
|
|
|
CREATE (a:attribute)
|
|
|
|
CREATE (a)-[:created_by]->(u)
|
|
|
|
CREATE (a)-[:created_by]->(u)
|
|
|
|
CREATE (a)-[:of]->(s)
|
|
|
|
CREATE (a)-[:of]->(s)
|
|
|
|