DESCRIBE EDGE¶
DESC[RIBE] EDGE <edge_type_name>
DESCRIBE EDGE
returns information about an edge type with the given name in a graph space. You must have the read Schema privilege for the graph space. To describe an edge type in a specific graph space, you must use the graph space first. You can use DESC
instead of DESCRIBE
for short.
DESCRIBE EDGE
is different from SHOW EDGE
. For details about SHOW EDGE
, see SHOW EDGE.
Example¶
Get information about an edge type named follow
.
nebula> DESCRIBE EDGE follow;
+----------+---------+-------+-----------+
| Field | Type | Null | Default |
+----------+---------+-------+-----------+
| "degree" | "int64" | "YES" | __EMPTY__ |
+----------+---------+-------+-----------+
Last update: March 19, 2021