Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

MATCH p=(v)-[e:tick_change*1..2]-(v2) WHERE id(v) IN ["482680108"] AND e.day==20210823 return p; return Empty set #1347

Closed
ttkyl opened this issue Aug 27, 2021 · 1 comment

Comments

@ttkyl
Copy link

ttkyl commented Aug 27, 2021

MATCH:
MATCH p=(v)-[e:tick_change]-(v2) WHERE id(v) IN ["482680108"] AND e.day>20210823 return p;
image

it works well.

But
MATCH p=(v)-[e:tick_change*1..2]-(v2) WHERE id(v) IN ["482680108"] AND e.day>20210823 return p;
Empty set

How to use MATCH query variable-length AND filter edge properties(such e.day>20210823)

@CPWstatic
Copy link
Contributor

id(v) IN ["482680108"] AND all(n in e where n.day>20210823)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants