跳转至

DESCRIBE TAGGraph

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

前提条件Graph

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

语法Graph

DESC[RIBE] TAG <tag_name>;

DESCRIBE可以缩写为DESC

示例Graph

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

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