EdgeDB Has a Free Graph-Relational Database — SQL Power With Object Syntax
SQL is powerful but verbose. ORMs are convenient but limited. EdgeDB gives you a query language that feels like writing objects — with the power of PostgreSQL underneath. What is EdgeDB? EdgeDB is ...

Source: DEV Community
SQL is powerful but verbose. ORMs are convenient but limited. EdgeDB gives you a query language that feels like writing objects — with the power of PostgreSQL underneath. What is EdgeDB? EdgeDB is a database built on top of PostgreSQL that replaces SQL with EdgeQL — a modern query language that handles relationships, aggregations, and nested data naturally. It also auto-generates TypeScript types. Why EdgeDB 1. EdgeQL vs SQL -- SQL: Get users with their posts and comments count SELECT u.id, u.name, (SELECT json_agg(json_build_object( 'title', p.title, 'comment_count', (SELECT COUNT(*) FROM comments c WHERE c.post_id = p.id) )) FROM posts p WHERE p.author_id = u.id) as posts FROM users u WHERE u.name ILIKE '%alice%'; # EdgeQL: Same query SELECT User { name, posts: { title, comment_count := count(.comments) } } FILTER .name ILIKE '%alice%'; 2. Schema as Code # dbschema/default.esdl module default { type User { required name: str; required email: str { constraint exclusive; }; multi posts