Skip to content

Commit

Permalink
docs: add annotation to first two examples of MATCH clause (#2409)
Browse files Browse the repository at this point in the history
  • Loading branch information
Big-Wuu authored Dec 29, 2023
1 parent 85a31cd commit 66303fc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ MATCH <pattern> [<clause_1>] RETURN <output> [<clause_2>];
用户可以在一对括号中使用自定义变量来表示模式中的点。例如`(v)`

```ngql
# 匹配全图空间中的任意 3 个点
nebula> MATCH (v) \
RETURN v \
LIMIT 3;
Expand All @@ -65,6 +66,7 @@ nebula> MATCH (v) \
用户可以在点的右侧用`:<tag_name>`表示模式中的 Tag。

```ngql
# 匹配全图空间中所有 Tag 为 player 的点
nebula> MATCH (v:player) \
RETURN v;
+-----------------------------------------------------------+
Expand Down

0 comments on commit 66303fc

Please sign in to comment.