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 #1146

Merged
merged 1 commit into from
Mar 10, 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 @@ -96,7 +96,9 @@ nebula> SHOW JOB 122;

!!! compatibility "Legacy version compatibility"

In Nebula Graph versions earlier than 3.0.0, nGQL does not support `MATCH (v) RETURN v`. As of version 3.0.0, nGQL support `MATCH (v) RETURN v`, there is no need to create an index, but you need to use `LIMIT` to limit the number of output results.
In Nebula Graph versions earlier than 3.0.0, nGQL does not support `MATCH (v) RETURN v`.

As of version 3.0.0, nGQL support `MATCH (v) RETURN v LIMIT n`, there is no need to create an index, but you must use `LIMIT` to limit the number of output results. nGQL still does not support `MATCH (v) RETURN v`.

You can use a user-defined variable in a pair of parentheses to represent a vertex in a pattern. For example: `(v)`.

Expand Down