2 ms·
This is why I like transparent sql libraries like https://www.hugsql.org/ https://www.hugsql.org/ Just writing sql and maintaining and testing it like regular
by emccue 7y ago
This is why I like transparent sql libraries like https://www.hugsql.org/ https://www.hugsql.org/
Just writing sql and maintaining and testing it like regular code is a perfectly reasonable thing to do.
Not to mention that having sql be callable as an actual function in the programming language that the rest of your application is written in is just so much more comfortable than having small bits of sql scattered about in strings.