Command line tool to generate idiomatic Go code for SQL databases
dbtpl is a Go-based tool that brings templated SQL into your codebase in a clean and structured way. It allows developers to define raw SQL queries in .tpl.sql files and compile them into Go code with strong typing and minimal overhead. By combining SQL’s power with Go’s safety and performance, dbtpl is ideal for teams that want full SQL control without sacrificing maintainability.
...Designed for large-scale, multi-tenant architectures, SPQR routes, rewrites, and manages SQL queries to ensure they are executed efficiently across shards. It provides a PostgreSQL-compatible interface so applications can scale transparently withoutcode changes.
write APIs using direct SQL queries with no hassle
sqler is a lightweight API gateway that automatically exposes your SQL database as a RESTful API. It allows developers to run parameterized SQL queries safely over HTTP, turning databases into microservices without writing backend code. sqler is great for prototyping, dashboards, and internal tools with quick database integration.