Skip to content

Commit

Permalink
Kill reference/sdl
Browse files Browse the repository at this point in the history
  • Loading branch information
1st1 committed Feb 20, 2025
1 parent 4a9f347 commit e3d59a0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 73 deletions.
16 changes: 11 additions & 5 deletions docs/datamodel/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,22 @@ Schema
|Gel| schemas are declared using **SDL** (Gel's Schema Definition
Language).

SDL
---
.. _ref_eql_sdl:

Your schema is defined inside |.gel| files. It's common to define your
entire schema in a single file called :dotgel:`default`, but you can split it
across multiple files if you wish.
Schema Definition Language
--------------------------

The database schema is defined inside |.gel| files with Gel Schema Definition
Language, or *SDL* for short. It's common to define the entire schema in
a single file called :dotgel:`default`, but you can split it across multiple
files if you wish. Since SDL is declarative in nature, the specific order of
declarations of module blocks, types, or schema files does not matter.

By convention, your schema files should live in a directory called ``dbschema``
in the root of your project.

Example:

.. code-block:: sdl
# dbschema/default.gel
Expand Down
1 change: 0 additions & 1 deletion docs/reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Reference


edgeql/index
sdl/index
ddl/index
connection
environment
Expand Down
67 changes: 0 additions & 67 deletions docs/reference/sdl/index.rst

This file was deleted.

0 comments on commit e3d59a0

Please sign in to comment.