Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

gel

> 数据库
Open source

Gel supercharges Postgres with a modern data model, graph queries, Auth & AI solutions, and much more.

14.2K stars0 likes0 views
WebsiteGitHub

About

Gel supercharges Postgres with a modern data model, graph queries, Auth & AI solutions, and much more.







Schema is the foundation of your application. It should be something you can read, write, and understand.

Forget foreign keys; tabular data modeling is a relic of an older age, and it isn't compatible with modern languages. Instead, Gel thinks about schema the same way you do: as object types containing properties connected by links.

esdl
type Person {
  required name: str;
}

type Movie {
  required title: str;
  multi actors: Person;
}

This example is intentionally simple, but Gel supports everything you'd expect from your database: a strict type system, indexes, constraints, computed properties, stored procedures...the list goes on. Plus it gives you some shiny new features too: link properties, schema mixins, and best-in-class JSON support. Read the schema docs for details.



Gel's super-powered query language EdgeQL is designed as a ground-up redesign of SQL. EdgeQL queries produce rich, structured objects, not flat lists of rows. Deeply fetching related objects is painless...bye, bye, JOINs.

esdl
select Movie {
  title,
  actors: {
    name
  }
}
filter .title = "The Matrix"

EdgeQL queries are also composable; you can use one EdgeQL query as an expression inside another. This property makes things like subqueries and nested mutations a breeze.

esdl
insert Movie {
  title := "The Matrix Resurrections",
  actors := (
    select Person
    filter .name in {
      'Keanu Reeves',
      'Carrie-Anne Moss',
      'Laurence Fishburne'
    }
  )
}

There's a lot more to EdgeQL: a comprehensive standard library, computed properties, polymorphic queries, with blocks, transactions, and much more. Read the EdgeQL docs for the full picture.



While Gel solves the same problems as ORM libraries, it's so much more. It's a full-fledged database with a powerful and elegant query language, a migrations system, a suite of client libraries in different languages, a command line tool, and a managed cloud service. The goal is to rethink every aspect of how developers model, migrate, manage, and query their database.

Here's a taste-test of Gel's next-level developer experience: you can install our CLI, spin up an instance, and open an interactive EdgeQL shell with just three commands.

$ curl --proto '=https' --tlsv1.2 -sSf https://geldata.com/sh | sh
$ edgedb project init
$ edgedb
edgedb> select "Hello world!"

Windows users: use this Powershell command to install the CLI.

PS> iwr https://geldata.com/ps1 -useb | iex

Get started

To start learning about Gel, check out the following resources:

  • The quickstart. If you're just starting out, the 10-minute quickstart guide is the fastest way to get up and running.

  • Gel Cloud 🌤️. The best most effortless way to host your Gel database in the cloud.

  • The docs. Jump straight into the docs for schema modeling or EdgeQL!


Contributing

PRs are always welcome! To get started, follow this guide to build Gel from source on your local machine.

File an issue 👉
Start a Discussion 👉
Join the discord 👉


License

The code in this repository is developed and distributed under the Apache 2.0 license. See LICENSE for details.

Issues· 948 open

View all issuesOpen on GitHub
  • #5926

    RFC 9266: Channel Bindings for TLS 1.3 support

    triageUpdated Sep 30, 2026
  • #9138

    Enhance documentation: Explicitly state that repository is no longer actively maintained.

    Updated Aug 27, 2026
  • #9137

    Security: timing side-channel in email/password authentication (secret comparison)

    Updated Aug 3, 2026
  • #9144

    Backport workflow-hardening fix (unpinned-uses) to 4 release branches

    Updated Jun 29, 2026
  • #9143

    Gel Project Init Configuration Directory Incorrect

    Updated May 24, 2026
  • #9141

    Gel Configuration Issues for Logical Replication

    Updated May 1, 2026
  • #5849

    Job Queue/Task Background Worker

    enhancementUpdated Mar 18, 2026
  • #9136

    Assert triggers on true.

    Updated Mar 5, 2026
  • #8821

    Migration cannot be created: InvalidReferenceError: property 'id' does not exist

    bugcompilerUpdated Mar 3, 2026
  • #9126

    RAG client doesn't support no_host_verification

    Updated Dec 1, 2025

> Tags

Pythondatabaseedgedbedgeqlgel

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库