Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
02-08-2021 04:04 AM
I have a requirement to read and write data based on multiple conditions for node. for example
if p.all_friends="Y" then "match (f:Employee)-[rel:FRIEND_WITH]-(e)" then "MERGE (p)<-[:CREATED_POST]-(f)
if p.all_colleagues="Y" then "match(e)-[rel:REPORTS_TO]->(SUPERVISOR:Employee) then Merge(colleagues_-[:CREATED_POST]->(p)
likewise i have n number of conditions for both match and merge.
Can you please suggest here which APOC will help here to handle this.
Also we can use Foreach but that will not support for match clause i think.
Thank you
02-08-2021 06:27 AM
Hi Michael,
Can you please advise here for the mentioned use case.
Thanks in advance.
Regards,
Nibedita
All the sessions of the conference are now available online