News for hackers. Stuff that matters.
Re:Open-sourcing SQX, a way to build flexible database model... by dgb23 on Saturday September 02, 2023 @04:12PM (#37365094)
I used sqlc with sqlite. The support seems fine there.

In general, sqlc is very nice to use. It works well out of the box with a standard config. You can also override a lot of things.

One of the nice extras about sqlc is that it doesn't feel like a real dependency.

You don't actually include sqlc anywhere. You just use a config and the cli to generate Go code that relies on the std library. The generated code is very straight forward std Go code that you could write by hand.

A couple of reasons to use Go in a project would be great support for IO, stability, great tooling, low operational complexity and minimal dependencies. sqlc fits nicely in there.

There are no comments on this comment yet.