You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using Cypher to Match with a Where expression using an Equals method, the = is missing in the query
The second query in the sample below produces
MATCH (n:Test)
WHERE n.Id"72824ef9-1920-48ed-bc4d-54059bd681e8"
RETURN count(*)
Versions:
Neo4jClient 5.1.15
GraphClient
.NET 8
Server Version 4.1.3
To Reproduce
class Test
{
public Guid Id { get; set; }
}
Client = new GraphClient(...)
Client.ConnectAsync().Wait();
Guid id = Guid.NewGuid();
var works = Client.Cypher.Match("(n:Test)").Where((Test n) => n.Id == id).Return(() => All.Count());
var broken = Client.Cypher.Match("(n:Test)").Where((Test n) => n.Id.Equals(id)).Return(() => All.Count());
Expected behaviour
In both cases, I'd like to have this query
MATCH (n:Test)
WHERE (n.Id = "72824ef9-1920-48ed-bc4d-54059bd681e8")
RETURN count(*)
The text was updated successfully, but these errors were encountered:
Describe the bug
When using Cypher to Match with a Where expression using an Equals method, the = is missing in the query
The second query in the sample below produces
MATCH (n:Test)
WHERE n.Id"72824ef9-1920-48ed-bc4d-54059bd681e8"
RETURN count(*)
Versions:
To Reproduce
Expected behaviour
In both cases, I'd like to have this query
MATCH (n:Test)
WHERE (n.Id = "72824ef9-1920-48ed-bc4d-54059bd681e8")
RETURN count(*)
The text was updated successfully, but these errors were encountered: