97
Neo4j LIMIT Clause
The Neo4j LIMIT clause is used to limit the number of rows in the output.
Syntax:
Here, I may be 1,2, 3? etc.
Example:
Let’s fetch records from database where LIMIT is set to 3.
Output:
LIMIT with Expression
The LIMIT clause can also be used with expressions.
Example:
Use the “rand” expression with LIMIT clause.
Output:
Next TopicNeo4j Skip Clause