I am trying to implement the Limit clause in Cypher in Neo4jClient but it doe not seem to be supported (?).
I thought I saw some test cases / other documents refer to it but I can't seem to find it in my intellisense.
Is there a work around to limit results to only top 5? I have 5000+ results and results are painfully slow.
I am using Neo4jClient version 1.0.0.572. Many thanks!
The tests that you pointed to clearly indicate that it exists, and works, and is supported, and tested.
Without having posted your query, I can only guess at the problem.
The Limit
method only shows up after you've called Return
, because it's defined on ICypherFluentQuery<TResults>
, not ICypherFluentQuery
.