Skip to content

DESCRIBE EDGE

DESCRIBE EDGE returns the information about an edge type with the given name in a graph space, such as field names, data type, and so on.

Prerequisites

Running the DESCRIBE EDGE statement requires some privileges for the graph space. Otherwise, NebulaGraph throws an error.

Syntax

DESC[RIBE] EDGE <edge_type_name>

You can use DESC instead of DESCRIBE for short.

Example

nebula> DESCRIBE EDGE follow;
+----------+---------+-------+---------+---------+
| Field    | Type    | Null  | Default | Comment |
+----------+---------+-------+---------+---------+
| "degree" | "int64" | "YES" |         |         |
+----------+---------+-------+---------+---------+

Last update: March 13, 2023
Back to top