Skip to content

SHOW CREATE TAGS/EDGES Syntax

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

SHOW CREATE TAG and SHOW CREATE EDGE return the specified tag or edge type and their creation syntax in a given space. If the tag or edge type contains a default value, the default value is also returned.

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

Last update: April 8, 2021