LIMIT enables the return of only subsets of the total result.
LIMIT
Figure 9.3. Graph
To return a subset of the result, starting from the top, use this syntax:
Query.
MATCH (n) RETURN n LIMIT 3
The top three items are returned by the example query.
Result
Node[0]{name:"D"}
Node[1]{name:"E"}
Node[2]{name:"A"}
Copyright © 2014 Neo Technology