3 ms·
This looks better than typical ORMs, but still not giving me what I want. I want query objects to be composable, and mutable. That lets you do things like thi
by bjt 5y ago
This looks better than typical ORMs, but still not giving me what I want.
I want query objects to be composable, and mutable. That lets you do things like this: http://btubbs.com/postgres-search-with-facets-and-location-awareness.html http://btubbs.com/postgres-search-with-facets-and-location-a.... sqlc would force you to write a separate query for each possible permutation of search features that the user opts to use.
I like the "query builder" pattern you get from Goqu. https://github.com/doug-martin/goqu https://github.com/doug-martin/goqu