I am new to Neo4j and trying to make a simple Cypher request using the lambda expression in the where clause, but for some reason I cannot understand why this is not working.
It looks like:
class HealthNode { public string Name{get;set;} //Other Stuff } string Name = "Foobar"; var query = client .Cypher .Start(new { n = Neo4jClient.Cypher.All.Nodes }) .Where((HealthNode n) => n.Name == Name) .Return<HealthNode>("n");
If I discard the text and parameters that I get:
START n=node(*) WHERE (n.Name! = {p0}) RETURN n //P0 Foobar
When I do this, of course, I get:
Cypher does not support != for inequality comparisons. Use <> instead
Why is there an additional exclamation point in the world for a variable name?
source share