On Dec 16, 2020, at 2:17 PM, Carles Pina i Estany <car...@pina.cat> wrote:
My message is that it probably can be done without COUNT if need to be and show "more than X rows" instead of the exact number of rows. Well yes this makes sense to me now, but only in the sense that we would first check whether some query exceeded the limit or not and only count the exact amount of objects if it's under the limit. But even so if you consider the actual implementation, you'd have to make two queries: one for all the distinct groups of timestamps and action tags and run a loop on them and so on... This is difficult to explain in words but basically it would add a lot more queries this way... at least the way I visualize it happening here. But also this is something I didn't know about so this was quite educational, thank you. Regards Muskan Vaswan -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAOoM%2B4Nwhzkr2YxfO%3DMrykYKB9q6jHtiP7oFUz%3DEEX4_jseqeg%40mail.gmail.com.