Limiting or Counting Results Returned
2.5 · Lesson

Limiting or Counting Results Returned

Although you can filter queries to reduce the number of results returned, you may also want to limit the number of results returned. This is useful if you have very large result sets and you only need to see the beginning or end of a set of ordered results. You can use the LIMIT keyword to specify the number of results returned.

In this query we filter out movie Full definition for node (opens in a new tab)A vertex in a graph. In a property graph it can carry labels and properties. that have no value for the released Full definition for property (opens in a new tab)A named value stored on a node or a relationship.. Then we return the 100 most-recently released movies in our graph.