Skip to content

Commit

Permalink
Add an example for random LIMIT seed (#1143)
Browse files Browse the repository at this point in the history
  • Loading branch information
randomJoe211 authored Nov 2, 2021
1 parent 8875daa commit 27cf3b8
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" | |
+------------+-------------+---------------------+
```

## openCypher兼容语句中的LIMIT
Expand Down

0 comments on commit 27cf3b8

Please sign in to comment.