您好我的Neo4J查询获取 CheckIn 或审核或像素等由用户提供给Business.Which我完美了。但是我还要获取用户提供的脉冲,但没有提供给业务。所以我的跟踪查询不是获取脉冲。
start n=node({otherUserId})
with n match (n)-[r1]-(p)-[r2]-(b:business)
where r1.onPulse=true and r2.onPulse= true and
('check_in' IN labels(p) OR 'tip' IN labels(p) OR 'review' IN labels(p) OR 'rate' IN labels(p))
with p,r1,r2,n,b
optional match(p)-[r3:has_pix]-(pix:pix)
OPTIONAL MATCH (p)-[tg]-(tags)
where type(tg) in ['has_biz_tag', 'has_user_tag', 'has_hash_tag']
return n,r1,p,r2,r3
在我的关系节点之上。我想要Neo4J查询。