in reply to Re: Too Many IDs
in thread Too Many IDs
"Depends" is about as good of an answer as I could think of, too. (Whenever someone uses a comparative like "better", I usually insist on "better, for what?" if I'm going to spend time answering, and start thinking "is this an X-Y question?", etc.) I would say that I don't usually use selectall_hashref like that. Often I'd go with selectall_arrayref($sql, {Slice => {}}, @bind) so you iterate over the hrefs directly to build the aggregations (hashes). And end up, like you say, splitting things up and doing subqueries. Depends..
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Too Many IDs
by The_Dj (Scribe) on Jan 09, 2020 at 13:53 UTC | |
by Tanktalus (Canon) on Jan 09, 2020 at 20:42 UTC | |
by talexb (Chancellor) on Jan 10, 2020 at 18:51 UTC | |
by Anonymous Monk on Jan 13, 2020 at 01:34 UTC | |
by Tanktalus (Canon) on Jan 13, 2020 at 17:24 UTC | |
by LanX (Saint) on Jan 09, 2020 at 16:25 UTC |