News for hackers. Stuff that matters.
Re:Show HN: Bun-sqlgen – Type-safe raw SQL for Bun, no ORM by allthetime on Wednesday June 24, 2026 @10:08AM (#48660139)
You can use sql<type>`query` anywhere you like combined with query builder syntax (or not) when you want to write raw sql and maintain type inference.
Re:Show HN: Bun-sqlgen – Type-safe raw SQL for Bun, no ORM by ilbert on Wednesday June 24, 2026 @06:35PM (#48666403)
sql<type>`query` is the reason why I started bun-sqlgen, to not have to write types manually