Skip to content

Commit

Permalink
Update 5.lookup.md (#1191)
Browse files Browse the repository at this point in the history
  • Loading branch information
HarrisChu authored Nov 10, 2021
1 parent 197e8fa commit fdcacea
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs-2.0/3.ngql-guide/7.general-query-statements/5.lookup.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,13 @@ nebula> LOOKUP ON follow \
YIELD properties(edge).degree AS Degree |\
GO FROM $-.DstVID OVER serve \
YIELD $-.DstVID, properties(edge).start_year, properties(edge).end_year, properties($$).name;
+-------------+------------------+----------------+--------------+
| $-.DstVID | serve.start_year | serve.end_year | $$.team.name |
+-------------+------------------+----------------+--------------+
| "player105" | 2010 | 2018 | "Spurs" |
| "player105" | 2009 | 2010 | "Cavaliers" |
| "player105" | 2018 | 2019 | "Raptors" |
+-------------+------------------+----------------+--------------+
+-------------+------------------------------+---------------------------+---------------------+
| $-.DstVID | properties(EDGE).start_year | properties(EDGE).end_year | properties($$).name |
+-------------+------------------------------+---------------------------+---------------------+
| "player105" | 2010 | 2018 | "Spurs" |
| "player105" | 2009 | 2010 | "Cavaliers" |
| "player105" | 2018 | 2019 | "Raptors" |
+-------------+------------------------------+---------------------------+---------------------+
```

## 通过Tag列出所有的对应的点/通过Edge type列出边
Expand Down

0 comments on commit fdcacea

Please sign in to comment.