Re:Everything that makes working with databases easier
by teddyh on Sunday May 29, 2022 @01:54PM
(#31551148)
sqlc generates Go code, nothing else, but the web page of sqlc.dev does not mention this anywhere. Of course, this is a .dev site, and .dev is owned by Google, so it is only to be expected, I guess?
[ Parent
| on HN ]
Re:Everything that makes working with databases easier
by jchw on Sunday May 29, 2022 @04:17PM
(#31552492)
It is Go first and foremost, but there are work-in-progress generators for other languages, including Kotlin and (in my opinion, somewhat oddly,) Python.
https://docs.sqlc.dev/en/latest/reference/language-support.h...
It also only supports PostgreSQL as a first class option. It’s still maturing. That said, I’m using PostgreSQL + Go in production with no qualms.