An in-depth look at everything there is to know about EdgeDB: data types, query language, schema and database setup, etc.
Install EdgeDB, create a simple schema, and write your first queries in under 5 minutes.
The quickest way to learn the key concepts of EdgeDB without installation, right in your browser.
An easy to follow book about using EdgeDB for an imaginary game based on the setting in Bram Stoker's 1897 book Dracula.
This section describes the administrative commands pertaining to databases.
Create a new database.
CREATE DATABASE name ;
CREATE DATABASE creates a new EdgeDB database.
CREATE DATABASE
The new database will be created with all standard schemas prepopulated.
Create a new database:
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
DROP DATABASE removes data permanently and cannot be undone.
Remove a database:
DROP DATABASE appdb;