15.15. Limit

15.15.1. Return first part

LIMIT enables the return of only subsets of the total result.

Figure 15.8. Graph


15.15.1. Return first part

To return a subset of the result, starting from the top, use this syntax:

Query. 

START n=node(3, 4, 5, 1, 2)
RETURN n
LIMIT 3

The top three items are returned by the example query.

Result

n
0 row
0 ms

(empty result)