跳转至

DESCRIBE TAG

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

前提条件

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

语法

DESC[RIBE] TAG <tag_name>;

DESCRIBE可以缩写为DESC

示例

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

最后更新: March 31, 2021
Back to top