top | item 29352547

(no title)

2StepsOutOfLine | 4 years ago

I'm shocked more people arent talking about SQLBoiler in threads like these. It solves this exact problemset. You write the SQL schema and it generates all the scan and helper functions for you. We've had a great experience with it at work after running into similar woes as OP with ORM's.

https://github.com/volatiletech/sqlboiler

discuss

order

mattcwilson|4 years ago

What are your thoughts on what the article author has to say about SQLBoiler?

zeroc8|4 years ago

For larger and longer running projects, I prefer sqlc. There is zero magic involved, but it still generates the boilerplate for you. If for some reason you decide you don't like it, you can just pretend it never existed.