Hi,
I need to know, how can get all the matching records and non matching record by passing query params from nodejs.
i want result something like if file exists then
[{
name: 'p1.pdf',
exist: true
},
{
name: 'p2.pdf',
exist: true
},
{
name: 'p3.pdf',
exist: false
}
]
unwind [{name: 'p1.pdf' },{name: 'p2.pdf'} , {name: 'p3.pdf'}] as r
match (f:file) where f.name = r.name
return collect({name: f.name, exist: exists(f.name)})
for 3 records it should 3 records only. else i have to loop one by one via nodejs.
I don't know how to return item which are not matched in neo4j. could anyone please explain and guide?
Regards
Meet