Re:Ask HN: Whats a Build vs. Buy decision that you got wrong?
by doctor_eval on Thursday December 29, 2022 @01:10AM
(#34170057)
I never use string concat to generate SQL in Go - isn’t it normal to use placeholders? ie,
Looking at squirrel, I really don’t see how this
Is better than this
That said, I will happily agree that that SQL statement composition is not the same as an ORM, and I can see the benefit of Squirrel for those rare times you do need to conditionally build SQL statements.
[ Parent
| on HN ]
There are no comments on this comment yet.