Skip to content

Commit

Permalink
Update limit.md (#877)
Browse files Browse the repository at this point in the history
  • Loading branch information
izhuxiaoqing authored Nov 2, 2021
1 parent b0df796 commit 44dd0f8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs-2.0/3.ngql-guide/8.clauses-and-options/limit.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,17 @@ nebula> GO 3 STEPS FROM "player100" \
| "Tony Parker" | 36 |
| "Manu Ginobili" | 41 |
+-----------------+--------------+
nebula> GO 3 STEPS FROM "player102" \
OVER * \
LIMIT [rand32(5),rand32(5),rand32(5)];
+------------+-------------+---------------------+
| serve._dst | follow._dst | any_shape_edge._dst |
+------------+-------------+---------------------+
| "team204" | | |
| "team215" | | |
| | "player100" | |
+------------+-------------+---------------------+
```

## LIMIT in openCypher compatible statements
Expand Down

0 comments on commit 44dd0f8

Please sign in to comment.