I am experimenting with neo4j cypher query language and I run into problem with these expressions:
This is valid query expression and returns true:
start n=node(3) return 1 <> 2
But this is not:
start n=node(3) return (1 <> 2) = true
in my opinion it should return also true, but it returns error:
Error: string matching regex \z' expected but
=' found
I tried similar queries like (which also fail):
start n = node(3) return not(true = true) = true
start n = node(3) return (true <> true) = true
I am testing queries on http://docs.neo4j.org/chunked/stable/query-where.html when I click on try this query live
Any suggestions? thanks