Hi everyone,
My case is very simple.
Let's assume three Car nodes:
Car(name: "Ferrari")
Car(name: "Porsche")
Car(name: "Aston Martin")
And this request:
MATCH (c:Car)
RETURN c.name
This of course well returns the three names.
Now I want to execute this simple query using a WHERE NOT:
MATCH (c:Car)
WHERE NOT(c.name = "Ferrari" AND 1=2) // I expect to always have a FALSE return, so that it still displays the three names.
RETURN c.name
However, the result is:
Porsche
Aston Martin
Why doesn't this query return "Ferrari" too?
It seems to behave exactly like if I had written: WHERE NOT(c.name = "Ferrari")
I don't figure out why?
How can I achieve this query?
Thanks a lot,
Michael