| |
Show HN: Bun-sqlgen – Type-safe raw SQL for Bun, no ORM
bun-sqlgen is a code generation tool that provides type-safe SQL queries for Bun applications without requiring an ORM. It validates queries against your database schema and generates TypeScript types by running migrations against an in-memory Wasm Postgres database at build time. The tool allows developers to write raw SQL while getting full type safety and null-safety checking through TypeScript's compiler.
Read Full Article →
← More Tech news