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

Unexpected redefined alias error #2456

Merged
merged 2 commits into from
Jan 9, 2023
Merged
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ nebula> MATCH (v:player{name:"Tim Duncan"}) RETURN v;

示例中的`v`就是自定义变量。

!!! caution

在同一个 MATCH 语句的模式中,不能重复使用边变量。例如`e`不能重复被写在模式`p=(v1)-[e*2..2]->(v2)-[e*2..2]->(v3)`中。如果想表示两个相同的边,可以使用两个不同的边变量。
abby-cyber marked this conversation as resolved.
Show resolved Hide resolved

## 原生 nGQL

nGQL 扩展的自定义变量可以表示为`$var_name`,`var_name`由字母、数字或下划线(_)构成,不允许使用其他字符。
Expand Down