Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 2.match.md #1539

Merged
merged 1 commit into from
Mar 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs-2.0/3.ngql-guide/7.general-query-statements/2.match.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ nebula> SHOW JOB 122;

!!! Compatibility "历史版本兼容性"

在 Nebula Graph 3.0.0 之前,不支持 `MATCH (v) RETURN v`。在 Nebula Graph 3.0.0 开始,支持`MATCH (v) RETURN v`,不需要创建索引,但需要使用 `LIMIT` 限制输出结果数量。
在 Nebula Graph 3.0.0 之前,不支持 `MATCH (v) RETURN v`。

从 Nebula Graph 3.0.0 开始,支持`MATCH (v) RETURN v LIMIT n`,不需要创建索引,但是必须使用 `LIMIT` 限制输出结果数量。不可以直接执行 `MATCH (v) RETURN v`。

用户可以在一对括号中使用自定义变量来表示模式中的点。例如`(v)`。

Expand Down