Skip to content
Developer Edition runs on one host and does not require a product license file. Need multi-host deployment or performance testing at scale? Explore Enterprise Edition

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

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  |
+-----------------+------------+-------+