返回资讯中心
外部精选
软件工程
#开发者实时流

Gel: Postgres Unchained

Iterate on your schema fast. Gel gives you a complete migration system and tools for branching and rapid prototyping.

Hacker News 最新thunderbong2026/11/10 · 今天5 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

Iterate on your schema fast. Gel gives you a complete migration system and tools for branching and rapid prototyping.

schema.gel

migrations/0001.edgeql

1 2 3 4 5 6 7 8

module default { type User { required username: str; } }

1 2 3 4 5 6 7 8

CREATE MIGRATION m1kdtk6ze2irotrxzscsr5hmt55zxv... { ALTER TYPE default::User { CREATE REQUIRED PROPERTY email -> std::str { SET REQUIRED USING ('example@example.com'); }; }; };

$

More about migrationsPurpose-built: Gel was designed for migrations from day one, ensuring a robust, intuitive workflow for any project size.

Framework-agnostic: Learn once, use everywhere—perfect for multi-language or large, distributed teams.

Interactive migrations: The Gel server and CLI work together to provide a guided, user-friendly migration process.

Flexible changes: Squash minor tweaks, add custom steps, and easily browse through existing migration history.

Branch & prototype: Effortlessly experiment with new ideas, then fold them back into your main schema when ready.

Get a client library

Fast and robust client libraries. Zero-config, automatic connection pooling, performance-optimized, and auto-recovery from network and transaction errors.

Typescript

Python

Go

Dart

Rust

.NET

Java

More about client API'sRefined API: Gel client libraries offer a clean, consistent interface across multiple programming languages.

Zero Configuration: No manual setup needed—Gel handles connection pooling and connection options automatically.

Error resilience: Network and transaction issues are handled gracefully with transparent re-connects and retries.

Performance-oriented: Designed for high efficiency under load, minimizing latency and overhead.

Developer-friendly: Minimal boilerplate and clear documentation help teams integrate with ease.

Run a query

Composable, strictly typed, high-performance—pick three. Gel gives you EdgeQL, a type-safe query builder, and classic SQL/ORM options.

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →