SKIP

The optional skip clause allows a specified number of records to be omitted from the result set.

SKIP <number of records to skip>

This can be useful when processing results in batches. A query that would examine the second 100-element batch of nodes with the label Person, for example, would be:

GRAPH.QUERY DEMO_GRAPH "MATCH (p:Person) RETURN p ORDER BY p.name SKIP 100 LIMIT 100"
Frequently Asked Questions 3
What does SKIP do in a Cypher query?

SKIP omits a specified number of records from the beginning of the result set. It is typically used together with LIMIT for pagination.

Should I use ORDER BY with SKIP?

Yes. Without ORDER BY, the order of results is non-deterministic, so SKIP may return different records on each execution. Always combine SKIP with ORDER BY for consistent pagination.

How do I paginate results in FalkorDB?

Use ORDER BY with SKIP and LIMIT together. For example, to get page 3 with 100 items per page: ORDER BY n.name SKIP 200 LIMIT 100.