List Info

Thread: Help with Generic Views in Magic Removal Branch




Help with Generic Views in Magic Removal Branch
user name
2006-02-25 18:25:45
A dumb question, but will objects.all() cause any kind of
performance
hit ?

I mean when the code appends QuerySet.filter(pk=object_id),
will it
condense that to a SQL statement that returns one object or
reutrn all
obejcts then do the PK query ? 

Thanks,


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )