Skip to content

Commit

Permalink
Update 6.cheatsheet-for-ngql-command.md (#2784)
Browse files Browse the repository at this point in the history
  • Loading branch information
abby-cyber authored May 22, 2023
1 parent c460090 commit e79bb58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs-2.0/2.quick-start/6.cheatsheet-for-ngql-command.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@
| 检索点 | `LOOKUP ON player WHERE player.name == "Tony Parker" YIELD player.name AS name, player.age AS age` | 返回 Tag 为`player``name``Tony Parker`的点。 |
| 检索边 | `LOOKUP ON follow WHERE follow.degree == 90 YIELD follow.degree` | 返回 Edge type 为`follow``degree``90`的边。 |
| 通过 Tag 列出所有点 | `LOOKUP ON player YIELD properties(vertex),id(vertex)` | 查找所有 Tag 为`player`的点 VID。 |
| 通过 Edge type 列出边 | `LOOKUP ON like YIELD edge AS e` | 查找 Edge type 为`like`的所有边的信息。 |
| 通过 Edge type 列出边 | `LOOKUP ON follow YIELD edge AS e` | 查找 Edge type 为`follow`的所有边的信息。 |
| 统计点 | `LOOKUP ON player YIELD id(vertex)| YIELD COUNT(*) AS Player_Count` | 统计 Tag 为`player`的点。 |
| 统计边 | `LOOKUP ON like YIELD id(vertex)| YIELD COUNT(*) AS Like_Count` | 统计 Edge type 为`like`的边。 |
| 统计边 | `LOOKUP ON follow YIELD edge as e | YIELD COUNT(*) AS Like_Count` | 统计 Edge type 为`follow`的边。 |



Expand Down

0 comments on commit e79bb58

Please sign in to comment.