Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
11-22-2019 12:05 AM
Hi! I have tried to use apoc.merge.node.eager. But see the error:
Unknown procedure output: total
(line 994, column 97 (offset: 34284))
" RETURN null"
IF I try to return something, see:
Unknown procedure output: a
(line 994, column 96 (offset: 34283))
" RETURN version"
Where is the mistake?
WITH apoc.convert.fromJsonList(data) as arr , 'TEST_V1' as version
UNWIND arr as vUNWIND RANGE(0,CASE WHEN length(v.money.prima)>length(v.money.altern)THEN length(v.money.prima) ELSE length(v.money.altern) END) as i
CALL apoc.merge.node.eager(['MONEY'], {ean:coalesce(v.money.prima[i],"")}, {},{}) YIELD amount
RETURN null
11-22-2019 08:41 AM
Hello, the procedure apoc.merge.node.eager()
YIELDs a node
variable, not amount
. You can alias that if you want to: YIELD node as amount
.
You can use apoc.help('merge.node.eager')
to check the signature of the procedure, including yielded variables.
All the sessions of the conference are now available online