Skip to content

DESCRIBE TAG

DESC[RIBE] TAG <tag_name>

DESCRIBE TAG returns information about a tag with the given name in a graph space. You must have the read Schema privilege for the graph space. To describe a tag in a specific graph space, you must use the graph space first. You can use DESC instead of DESCRIBE for short.

DESCRIBE TAG is different from SHOW TAGS. For details about SHOW TAGS, see SHOW TAGS.

Example

Get information about a tag named player.

nebula> DESCRIBE TAG player;

+--------+----------+-------+-----------+
| Field  | Type     | Null  | Default   |
+--------+----------+-------+-----------+
| "name" | "string" | "YES" | __EMPTY__ |
+--------+----------+-------+-----------+
| "age"  | "int64"  | "YES" | __EMPTY__ |
+--------+----------+-------+-----------+

Last update: March 19, 2021
Back to top