3 ms·
I was interested in looking up sqlc for python but it seems to be for go? Is there a different version than this? https://github.com/kyleconroy/sqlc https://git
by jerrygenser 3y ago
I was interested in looking up sqlc for python but it seems to be for go? Is there a different version than this? https://github.com/kyleconroy/sqlc https://github.com/kyleconroy/sqlc
- cropcirclbureau 3y agoThey appear to have beta grade[0] support for Python and Kotlin. (TypeScript on the roadmap as well) [0]: https://docs.sqlc.dev/en/latest/reference/language-support.html https://docs.sqlc.dev/en/latest/reference/language-support.h...
- StefanWestfal 3y agoThey put some work into the Python adoption and it is enough for smaller projects but I did not try it for to complex use cases. You can see it under examples. What is nice is that you can set the option to parse into PyDantic rather the dataclasses.