Search
ctrl/
Ask AI
Light
Dark
System

edgedb list

List matching database objects by name and type.

edgedb list type [options] pattern

The edgedb list group of commands contains tools for listing database objects by matching name or type. The sub-commands are organized by the type of the objects listed.

edgedb list aliases

Display list of aliases defined in the schema.

edgedb list casts

Display list of casts defined in the schema.

edgedb list databases

Display list of databases in the server instance.

edgedb list indexes

Display list of indexes defined in the schema.

edgedb list modules

Display list of modules defined in the schema.

edgedb list roles

Display list of roles in the server instance.

edgedb list scalars

Display list of scalar types defined in the schema.

edgedb list types

Display list of object types defined in the schema.

The list command runs in the database it is connected to. For specifying the connection target see connection options.

-c, --case-sensitive

Indicates that the pattern should be treated in a case-sensitive manner.

-s, --system

Indicates that built-in and objects should be included in the list.

-v, --verbose

Include more details in the output.

pattern

The pattern that the name should match. If omitted all objects of a particular type will be listed.