Skip to content

Adds support for StartsWith

Compare
Choose a tag to compare
@cskardon cskardon released this 26 Oct 17:10
· 237 commits to master since this release

Users can now use the StartsWith method to create valid Cypher against a 2.3.0 db instance.

var query = gc.Cypher
    .Match("(n:Movie)")
    .Where((Movie n) => n.title.StartsWith("The"))
    .Return(n => n.As<Movie>());

Creates:

MATCH (n:Movie)
WHERE (n.title STARTS WITH 'The')
RETURN n