All of the schema information in EdgeDB is stored in the
module and is accessible via
All the introspection types are themselves extending
BaseObject, so they are also subject to introspection as
object types. The following
query will give a list of all the types used in introspection:
select name := schema::ObjectType.name filter name like 'schema::%';
There’s also a couple of ways of getting the introspection type of a
particular expression. Any
Object has a
schema::ObjectType. For scalars there’s the
typeof operators that can be used
to get the type of an expression.
Finally, the command
describe can be used to get
information about EdgeDB types in a variety of human-readable formats.