Hacker News new | ask | show | jobs
by allthetime 34 days ago
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.
1 comments

sql<type>`query` is the reason why I started bun-sqlgen, to not have to write types manually