跳转至

DESCRIBE TAG

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

前提条件

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

语法

DESC[RIBE] TAG <tag_name>;

DESCRIBE可以缩写为DESC

示例

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

最后更新: July 14, 2021
Back to top