Extensions

This section describes the DDL commands pertaining to extensions.

Create extension

Enable a particular extension for the current schema.

  1. create extension ExtensionName ";"

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

Description

The command create extension enables the specified extension for the current database.

Examples

Enable GraphQL extension for the current schema:

  1. create extension graphql;

Enable EdgeQL over HTTP extension for the current database:

  1. create extension edgeql_http;

drop extension

Disable an extension.

  1. drop extension ExtensionName ";"

Description

The command drop extension disables a currently active extension for the current database.

Examples

Disable GraphQL extension for the current schema:

  1. drop extension graphql;

Disable EdgeQL over HTTP extension for the current database:

  1. drop extension edgeql_http;