Star

GO FROM 遍历失败

执行 LOOKUP ON player WHERE player.name== “Kobe Bryant” YIELD player.name AS name |GO FROM $-._vid OVER serve
错误如下:

如果希望返回id,不需要指定yield,默认返回id的
LOOKUP ON player WHERE player.name== “Kobe Bryant”

后面一个go的命令怎么获取前面结果的vid

go from “vid” over serve yield serve._src

`[quote=“0xqq, post:3, topic:1978, full:true”]
后面一个go的命令怎么获取前面结果的vid
[/quote]

GO FROM 100 OVER follow YIELD follow._src, follow._dst, follow._type, follow._rank;
===========================================================
| follow._src | follow._dst | follow._type | follow._rank |
===========================================================
| 100         | 101         | 26           | 0            |
-----------------------------------------------------------
| 100         | 102         | 26           | 0            |
-----------------------------------------------------------
| 100         | 106         | 26           | 0            |
-----------------------------------------------------------

浙ICP备20010487号