SHOW CREATE TAG/EDGE¶
The SHOW CREATE TAG
statement shows the basic information of the specified tag. For details about the tag, see CREATE TAG.
The SHOW CREATE EDGE
statement shows the basic information of the specified edge type. For details about the edge type, see CREATE EDGE.
Syntax¶
SHOW CREATE {TAG <tag_name> | EDGE <edge_name>};
Examples¶
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 = """ |
+----------+-----------------------------------+
Last update:
February 1, 2023