Hacker News new | ask | show | jobs
by norman784 558 days ago
Agree, I want to write raw SQL and have some tool that validate it and generate the correct return type for it, similar to sqlx[0], but AFAIK there is no such tool yet in Typescript land, there are a few that are taking that direction.

[0] https://github.com/launchbadge/sqlx

2 comments

Something like manifold-sql[1] for ts would be awesome.

1. https://github.com/manifold-systems/manifold/blob/master/man...

There is Slonik [1] for instance.

[1] https://github.com/gajus/slonik