SHOW GRAPH TYPES command¶
The SHOW GRAPH TYPES command returns information about all the graph types in the current schema.
The current user must have USAGE on the current schema. Otherwise, the command returns an insufficient privilege error. For more information, see Schema access control.
The following table describes the returned information:
| Column | Description |
|---|---|
schema |
The path of the schema where the graph type belongs. |
graph_type |
The name of the graph type. |
owner |
The owner of the graph type. |
Syntax¶
- show_graph_types_command
show_graph_types_command ::=
'SHOW' 'GRAPH' 'TYPES'
Examples¶
The following examples are based on the example dataset.
Show all graph types¶
SHOW GRAPH TYPES
Return:
+-----------------+------------+-------+
| schema | graph_type | owner |
+-----------------+------------+-------+
| /default_schema | movie_type | root |
+-----------------+------------+-------+