Define your types in dbschema/default.gel, add a query file and push. The CLI migrates PostgreSQL, deploys the endpoint and generates typed client code.
Save an EdgeQL statement in dbschema/queries/. The filename names the route, and the opening comment documents the SDK, CLI and MCP tool.
dbschema/queries/listDocs.edgeql
# List readable PDFs in a projectselectDoc{ id, title, file_download_url }filter.project.id =<uuid>$projectorderby.titlelimit20
2
Push and generate
Napalm checks every deployed query before migrating PostgreSQL and blocks breaking changes. The generator then writes your OpenAPI spec, SDK and live hooks.
Walk your data graph in one SQL statement.WalkyourdatagraphinoneSQLstatement.
Links replace join tables, SQL NULLs and N+1 round trips while policies compile into the same plan on PostgreSQL 18. Every schema push checks your deployed queries before migrating data.
Nested queries run in one round trip at one snapshot.
Forward links, reverse backlinks (.<note[is Comment]) and filtered counts compile together with every touched access policy into a single SQL statement.
Policies walk links in the same EdgeQL language as queries. Declare a policy on the type, and Napalm enforces it across every surface without route middleware.