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

Can we explain which kind of syntx errors when i want to use collect() in go statement. #4886

Open
abby-cyber opened this issue Nov 16, 2022 · 0 comments
Labels
type/feature req Type: feature request

Comments

@abby-cyber
Copy link
Contributor

image

When I run "GO FROM "player100" OVER serve YIELD properties($$).name AS name collect($-.name)" , it returns "
-1004:SyntaxError: syntax error near `collect' ".

After consulting our dev, I get that I should use the pipe operator and then use collect() in group by or yield clause.

Can we explain clearly what exactly the syntax error is when I want to use collect() in ngql statements?

PS: can we unify the usage of our syntax in both match and our native ngql statements?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature req Type: feature request
Projects
None yet
Development

No branches or pull requests

1 participant