EdgeDB schema is fully introspectable. There are two approaches to introspection corresponding to two different use-cases: human-oriented and query-oriented.
For human-oriented introspection the goal is to quickly
see some useful information about the database structure
expressed as either DDL, SDL or a human-readable text
summary. The DESCRIBE
command does exactly that. By
default it produces the DDL command needed to create the
schema object in question:
It is also possible to get an SDL snippet or even see an entire module as SDL:
To see more detailed information, such as all the inherited
links and properties, etc. use the TEXT
mode: