📜  获取链表密码中的所有元素 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:28.780000             🧑  作者: Mango

代码示例1
MATCH p = (boxer:Boxer)-[:starts]->()-[:continues*0..]->(lastRound)
WHERE boxer.id = 5 AND NOT (lastRound)-[:continues]->()
RETURN boxer {
   .*,
   rounds: NODES(p)[1..]
  } as boxer