thanks ive been reading the documentation constantly, i just couldnt seem to find that particular tidbit ;]
loving django On Nov 15, 5:50 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2008-11-14 at 20:26 -0800, kaos wrote: > > [...] > > > Will that return the count of all of the articles in the given > > category using a COUNT(*) query, or will it actually pull ALL of the > > articles from the database and get the size of the array? > > > Basically i'm trying to figure out if im being efficient or just > > downright wasteful :) > > The documentation for count() should clarify this for > you:http://docs.djangoproject.com/en/dev/ref/models/querysets/#count > > See also, the section called "when Querysets are evaluated" at the top > of the same document. > > Regards, > Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---