News for hackers. Stuff that matters.
Re:Sqlc: Data access simplified. Throw away your ORM by dhfuuvyvtt on Tuesday December 10, 2024 @04:55AM (#42375361)
I'm not sure that's an issue? It would be an odd refactor to add a new side effect to the query you didn't want to apply across the board.

More likely you would introduce a new query that would get a new function call.

usersWithCountBetween(a, b)

vs

enabledUsersWithCountBetween(a,b)

If you mean, how to handle the addition of a new enabled flag that is passed in, that too would either require refactoring or a new function.

These aren't really things I would consider a problem but maybe I'm missing something?

Oh and you can configure the number of params before it replaces the params with an interface so things like this are easier to manage over time.

There are no comments on this comment yet.