Limit enables the return of only subsets of the total result.
To return a subset of the result, starting from the top, use this syntax:
Query
start n=(3, 4, 5, 1, 2) return n limit 3
The top three items are returned
Result
+--------------------+ | n | +--------------------+ | Node[3]{name->"A"} | | Node[4]{name->"B"} | | Node[5]{name->"C"} | +--------------------+ 3 rows, 1 ms
Copyright © 2011 Neo Technology