2 ms·
Also, "getLastSixImages" should be obvious to any experienced functional programmer as something which is begging for a higher-order function.
by Locke1689 15y ago
Also, "getLastSixImages" should be obvious to any experienced functional programmer as something which is begging for a higher-order function.
- joevandyk 15y agoand selecting the last six images in one query, instead of this six times: SELECT name FROM images WHERE number = ((SELECT max(number) FROM images) - 1