Light
Dark
System
v3latest
v3latest
v2
v1

Extensions

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.

The command 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 ";"

The command 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

We use ChatGPT with additional context from our documentation to answer your questions. Not all answers will be accurate. Please join our Discord if you need more help.