EdgeDB 1.0 is launching on Feb 10th! Watch the live event.
Claim your ticket

This section describes the DDL commands pertaining to extensions.

Enable a particular extension for the current schema.

CREATE EXTENSION ExtensionName ";"

There’s a corresponding SDL declaration for enabling an extension, which is the recommended way of doing this.

CREATE EXTENSION enables the specified extension for the current database.

Enable GraphQL extension for the current schema:

Copy
CREATE EXTENSION graphql;

Enable EdgeQL over HTTP extension for the current database:

Copy
CREATE EXTENSION edgeql_http;

Disable an extension.

DROP EXTENSION ExtensionName ";"

DROP EXTENSION disables a currently active extension for the current database.

Disable GraphQL extension for the current schema:

Copy
DROP EXTENSION graphql;

Disable EdgeQL over HTTP extension for the current database:

Copy
DROP EXTENSION edgeql_http;
Light
Dark
System