Y
Hacker News
new
|
ask
|
show
|
jobs
by
giovannibonetti
91 days ago
You might be interested in a library that flips around the concept of an ORM, like sqlc [1] or aiosql [2]. You specify just what you want from the database, without needing to couple so much API with database tables.
[1]
https://sqlc.dev/
[2]
https://nackjicholson.github.io/aiosql/
1 comments
nine_k
91 days ago
Nice! But what about type checking?
link
gcr
84 days ago
sqlc's whole deal is "Compile SQL to type-safe code," what do you mean "what about type checking"?
link