Node and edge schema operations
In Ultipa GQL, node and edge types are referred to as node and edge schemas. Thus, we have GQL-Schema, Node-Schema, and Edge-Schema.
In this section, you will learn how to list and modify these schemas and their properties.
For consistency and better practice, we will use the terms node schema and edge schema instead of node type and edge type in this chapter.
Showing node and edge schemas
The syntax to show schemas is as follows:
SHOW { NODE | EDGE } SCHEMA
To list all node schemas in the graph, you can run the following query:
GQL:
SHOW NODE SCHEMA
This query returns a list of node schemas, including the following:
- Schema name
- Status
- Description
- Properties
The following is a list of node schemas from the graph named myGraph, which can be created using the example queries provided in GQL Playground.

Figure 11.1: Node schema list
Additionally, the query...