Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
03-16-2021 11:05 PM
Hello,
we are planning to update and return the updated values as a result of multiple component values using a single update and return query if we are trying with multiple queries there are no issues and if we try with a single query we couldn't able to return the updated value. Is there any solution for multiple update statements using a single query? I am updating my query below:-
match (d:dpComponent)
call apoc.do.case([d.componentName="",'SET d.componentId = null return d',
d.componentKey="",'SET d.componentKey = null return d'],
'',{d:d}) YIELD value
RETURN value.d.componentName as Name, value.d.componentKey1 as Key
All the sessions of the conference are now available online