From 7a34d53dbebcf027d3097f36dc4443fb62265d7f Mon Sep 17 00:00:00 2001 From: randomJoe211 <69501902+randomJoe211@users.noreply.github.com> Date: Mon, 1 Nov 2021 18:50:51 +0800 Subject: [PATCH] Add an example for random LIMIT seed --- docs-2.0/3.ngql-guide/8.clauses-and-options/limit.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs-2.0/3.ngql-guide/8.clauses-and-options/limit.md b/docs-2.0/3.ngql-guide/8.clauses-and-options/limit.md index b8b486673d..513dd47d28 100644 --- a/docs-2.0/3.ngql-guide/8.clauses-and-options/limit.md +++ b/docs-2.0/3.ngql-guide/8.clauses-and-options/limit.md @@ -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