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

There is no way to implement a tag query as a function #3088

Closed
cooper-lzy opened this issue Oct 15, 2021 · 2 comments · Fixed by #3255
Closed

There is no way to implement a tag query as a function #3088

cooper-lzy opened this issue Oct 15, 2021 · 2 comments · Fixed by #3255
Assignees
Labels
incompatible PR: incompatible with the recently released version type/feature req Type: feature request
Milestone

Comments

@cooper-lzy
Copy link
Contributor

Before: $^.test1.name
After: properties($^).name
There is no way to implement a tag query as a function.
And testing with a multi-tag point returns only the value of one of the attributes.
image

@cooper-lzy cooper-lzy added the type/bug Type: something is unexpected label Oct 15, 2021
@Sophie-Xie Sophie-Xie added this to the v2.6.0 milestone Oct 15, 2021
@Sophie-Xie Sophie-Xie modified the milestones: v2.6.0, v3.0.0 Oct 15, 2021
@nevermore3
Copy link
Contributor

nevermore3 commented Oct 18, 2021

this is not a bug,
Because multiple tags are bound at this vertex, and the attribute names of different tags are the same

we can still use $^.player.name ,it's compatible

@Sophie-Xie Sophie-Xie added type/feature req Type: feature request incompatible PR: incompatible with the recently released version and removed type/bug Type: something is unexpected labels Oct 19, 2021
@nevermore3
Copy link
Contributor

same case:
Match (v:player) where id(v) == "Tim Duncan" Return v.name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
incompatible PR: incompatible with the recently released version type/feature req Type: feature request
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants