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

Support variable when seeking vertex id or property index for match clause #5509

Closed
yixinglu opened this issue Apr 18, 2023 · 0 comments
Closed
Labels
type/enhancement Type: make the code neat or more efficient

Comments

@yixinglu
Copy link
Contributor

Introduction

match (v:player) where id(v)=="Tim Duncan" 
with v.player.name as name 
match (v1:player)--(v2:player)
where id(v1)==name
return count(*)


match (v:player) where id(v)=="Tim Duncan" 
with v.player.name as name 
match (v1:player)--(v2:player)
where v1.player.name==name
return count(*)

Contents

Related work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Type: make the code neat or more efficient
Projects
None yet
Development

No branches or pull requests

2 participants