DESCRIBE INDEX

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

语法

  1. DESCRIBE {TAG | EDGE} INDEX <index_name>;

示例

  1. nebula> DESCRIBE TAG INDEX player_index_0;
  2. +--------+--------------------+
  3. | Field | Type |
  4. +--------+--------------------+
  5. | "name" | "fixed_string(30)" |
  6. +--------+--------------------+
  7. nebula> DESCRIBE TAG INDEX player_index_1;
  8. +--------+--------------------+
  9. | Field | Type |
  10. +--------+--------------------+
  11. | "name" | "fixed_string(10)" |
  12. | "age" | "int64" |
  13. +--------+--------------------+

最后更新: October 27, 2021