Skip to content

SHOW CREATE TAG/EDGE

The SHOW CREATE TAG or SHOW CREATE EDGE statement shows the basic information of the specified tag or edge type.

For details about the tag or edge type information, see CREATE TAG and CREATE EDGE.

Syntax

SHOW CREATE {TAG <tag_name> | EDGE <edge_name>}

Example

nebula> SHOW CREATE TAG player;
+----------+-----------------------------------+
| Tag      | Create Tag                        |
+----------+-----------------------------------+
| "player" | "CREATE TAG `player` (            |
|          |  `name` string NULL,              |
|          |  `age` int64 NULL                 |
|          | ) ttl_duration = 0, ttl_col = ""  |
+----------+-----------------------------------+

Last update: March 29, 2021