跳转至

DESCRIBE TAGGraph

DESCRIBE TAG显示指定 Tag 的详细信息,例如字段名称、数据类型等。

前提条件Graph

登录的用户必须拥有对应权限才能执行DESCRIBE TAG语句。详情请参见Graph。

语法Graph

DESC[RIBE] TAG <tag_name>;

DESCRIBE可以缩写为DESC

示例Graph

nebula> DESCRIBE TAG player;
+--------+----------+-------+---------+---------+
| Field  | Type     | Null  | Default | Comment |
+--------+----------+-------+---------+---------+
| "name" | "string" | "YES" |         |         |
| "age"  | "int64"  | "YES" |         |         |
+--------+----------+-------+---------+---------+

最后更新: January 14, 2022