是否可能具有未经验证的反应形式?
我在FormBuilder中没有任何MERGE (species:Species {name: $name})
ON CREATE SET species.GUID = apoc.create.uuid(), species.creationDate = datetime()
WITH species
with species, $hasLegs as hasLegs
FOREACH (ignore IN CASE WHEN $hasLegs = 'Y' THEN [1] ELSE [] END | MERGE (species)-[:LINKS_TO]->(:Question:Root{type: 'Legs'}) )
RETURN species
,但是它仍然添加MERGE (species:Species {name: $name})
ON CREATE SET species.GUID = apoc.create.uuid(), species.creationDate = datetime()
WITH species
MATCH (l:Question:Root{type: 'Legs')
CALL apoc.when(hasLegs='Y', 'MERGE (species)-[:LINKS_TO]->(l)','', { l:l, species: species }) YIELD value
WITH value AS ignored, species
RETURN species
类来输入更改,但是我不需要它。
答案 0 :(得分:0)
是的,您只需要导入反应形式即可。