SHOW INDEXES¶
The SHOW INDEXES
statement shows the names of existing native indexes.
Syntax¶
SHOW {TAG | EDGE} INDEXES;
Examples¶
nebula> SHOW TAG INDEXES;
+------------------+----------+----------+
| Index Name | By Tag | Columns |
+------------------+----------+----------+
| "player_index_0" | "player" | [] |
| "player_index_1" | "player" | ["name"] |
+------------------+----------+----------+
nebula> SHOW EDGE INDEXES;
+----------------+----------+---------+
| Index Name | By Edge | Columns |
+----------------+----------+---------+
| "follow_index" | "follow" | [] |
+----------------+----------+---------+
Legacy version compatibility
In NebulaGraph 2.x, SHOW TAG/EDGE INDEXES
only returns Names
.
Last update:
February 19, 2024