Skip to content

Commit

Permalink
delete the note that yield is optional (#2603)
Browse files Browse the repository at this point in the history
  • Loading branch information
abby-cyber committed Feb 21, 2023
1 parent 3f0fa6a commit 8e795c4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs-2.0/3.ngql-guide/5.operators/4.pipe.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ nebula> GO FROM "player100" OVER follow \
+-------------+
```

用户可以使用`YIELD`显式声明需要返回的结果,如果不使用`YIELD`,默认返回目标点 ID。

必须在`YIELD`子句中为需要的返回结果设置别名,才能在管道符右侧使用引用符`$-`,例如示例中的`$-.dstid`

## 性能提示
Expand Down

0 comments on commit 8e795c4

Please sign in to comment.