Databases
New
In EdgeDB 5.0, databases were replaced by branches. If you’re running EdgeDB 5.0 or later, try the branch administrative commands instead.
This section describes the administrative commands pertaining to databases.
Create database
Create a new database.
create database name ;
Description
The command create database
creates a new EdgeDB database.
The new database will be created with all standard schemas prepopulated.
Drop database
Remove a database.
drop database name ;
Description
The command drop database
removes an existing database. It cannot
be executed while there are existing connections to the target
database.
Executing drop database
removes data permanently and cannot be undone.