[BUG] Query failed: Only nodes, edges, maps and temporal types have properties to be looked-up.
POMXARK opened this issue · comments
Бушуев Роман commented
No ability to filter by relationship field
MATCH p=({user_id: '11509'})-[r:any_binding * ]->()
WHERE r.bind_type = 1 OR r.bind_type = 2
RETURN p
implemented in https://neo4j.com/developer/kb/comparing-relationship-properties-within-a-path/
found the answer
https://community.neo4j.com/t/filtering-by-relationship-properties/13121/4
MATCH p=({user_id: '11509'})-[r:any_binding * ]->()
WHERE all(a in r where a.bind_type = 1 and a.bind_type = 2)
RETURN p