跳转至

DESCRIBE INDEXGraph

DESCRIBE INDEX语句可以查看指定索引的信息,包括索引的属性名称(Field)和数据类型(Type)。

语法Graph

DESCRIBE {TAG | EDGE} INDEX <index_name>;

示例Graph

nebula> DESCRIBE TAG INDEX player_index_0;
+--------+--------------------+
| Field  | Type               |
+--------+--------------------+
| "name" | "fixed_string(30)" |
+--------+--------------------+

nebula> DESCRIBE TAG INDEX player_index_1;
+--------+--------------------+
| Field  | Type               |
+--------+--------------------+
| "name" | "fixed_string(10)" |
+--------+--------------------+
| "age"  | "int64"            |
+--------+--------------------+

最后更新: April 1, 2021
Back to top