1

I am trying to execute the following query from Memgraph's documentation:

MATCH (p:Person)
WHERE exists((p)-[:LIVING_IN]->(:Country {name: 'Germany'}))
RETURN p.name
ORDER BY p.name;

but I'm getting this error:

Query failed: Not yet implemented: atom expression '(p)-[:LIVING_IN]->(:Country{name:"a"})'

Is that a docs error or am I doing something wrong?

MPesi
  • 212
  • 8

2 Answers2

0

Did you check which version of Memgraph you're using? Exists seems like a newly implemented function, so you might be using the older version

An Martin
  • 53
  • 2
0

Yess, looks like that was the issue. I checked the changelog and figured exists function is the v2.6 feature while I was still using the v2.5.2. Thank you!

MPesi
  • 212
  • 8