Actually, not that I think about this again, the rationale behind my
original proposal was this: since nulls are included in the output
anyway we may as well count them. This way there are no surprises
about what's counted and what's not. And users who do not want to
count nulls should apply query
Thanks for you input Russ. Yes, Count("*") does look cleaner but
(based on a quick glance on the code) may require some serious
rewiring. I'll give some more thought as to how this may be
accomplished. Should I create a new ticket then or reopening the one I
already put is fine?
Cheers
Sergiy
On
On Fri, Jan 28, 2011 at 11:05 PM, Sergiy Kuzmenko wrote:
> A couple of points regarding this:
> http://code.djangoproject.com/ticket/15183#comment:1.
>
> If nulls should not be counted then then they should be excluded from
> results but they are not.
>
> You always get an entry for nulls (if they
A couple of points regarding this:
http://code.djangoproject.com/ticket/15183#comment:1.
If nulls should not be counted then then they should be excluded from
results but they are not. You always get an entry for nulls (if they
are present) with zero count which if you need them is a problem and
i