SHOW CREATE TAG/EDGEGraph
SHOW CREATE TAG
语句显示指定 Tag 的基本信息。Tag 的更多详细信息,请参见 Graph。
SHOW CREATE EDGE
语句显示指定 Edge type 的基本信息。Edge type 的更多详细信息,请参见 Graph。
语法Graph
SHOW CREATE {TAG <tag_name> | EDGE <edge_name>};
示例Graph
nebula> SHOW CREATE TAG player;
+----------+-----------------------------------+
| Tag | Create Tag |
+----------+-----------------------------------+
| "player" | "CREATE TAG `player` ( |
| | `name` string NULL, |
| | `age` int64 NULL |
| | ) ttl_duration = 0, ttl_col = """ |
+----------+-----------------------------------+
nebula> SHOW CREATE EDGE follow;
+----------+-----------------------------------+
| Edge | Create Edge |
+----------+-----------------------------------+
| "follow" | "CREATE EDGE `follow` ( |
| | `degree` int64 NULL |
| | ) ttl_duration = 0, ttl_col = """ |
+----------+-----------------------------------+
最后更新: November 24, 2021