I’ll just add another thing I noticed: you
Group only the first source and you
order none of the sources. I’m sure this makes sense, it just seems a bit difficult to penetrate this API from my (I guess “a beginner”) point of view. Consider that we have about 10 posts in this topic just about how to do a simple inner join – this probably says more about how slow I am than anything else. It also seems like it takes about
6×2+1 LOC to accomplish that join. This probably depends on the fact that you can streamline and perfect any action depending on the state of the input, which makes
LightQuery the ideal building block for all the query frontend packages.
But all of this is a good indication that we need either:
- a convenience function to accomplish (albeit not-as-fast-and-streamlined-as-possible) joins (and other DB actions) that never fail,
- or a
MetaLightQuery package for day-to-day DB actions (like join).
Again, I hope you don’t see this in the wrong light (heh), I love the modularity and lightness, but if normal users are to use this package, my opinion is such that this needs some convenience functions.