Databases

This section describes the administrative commands pertaining to databases.

Create a new database.

CREATE DATABASE name ;

CREATE DATABASE creates a new EdgeDB database.

The new database will be created with all standard schemas prepopulated.

Create a new database:

Copy
CREATE DATABASE appdb;

Remove a database.

DROP DATABASE name ;

DROP DATABASE removes an existing database. It cannot be executed while there are existing connections to the target database.

DROP DATABASE removes data permanently and cannot be undone.

Remove a database:

Copy
DROP DATABASE appdb;
Light
Dark
System