On Tue, Dec 04, Gary Wilson wrote: > And I say QuerySets are more like lazy-evaluated lists. lists are iterable > and can be sliced.
I think this hits the point. What do you think about this: a QuerySet fetches a chunk of elements, say 100, as soon as you request at least one? So aQuerySet[0] could fetch the first 100 or so elements behind the scene and return the first one, and the next access would not have to go to the database. Michael -- noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg - Tel +49-911-9352-0 - Fax +49-911-9352-100 http://www.noris.de - The IT-Outsourcing Company Vorstand: Ingo Kraupa (Vorsitzender), Joachim Astel, Hansjochen Klenk - Vorsitzender des Aufsichtsrats: Stefan Schnabel - AG Nürnberg HRB 17689 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers?hl=en -~----------~----~----~----~------~----~------~--~---