On Sat, 2009-03-21 at 11:46 -0700, koranthala wrote: > Hi, > Using Django 1.1 > I have the following filter > p = DB.filter( value_in = values, name__in = names).select_related()
If you're asking us to work out what's going on with respect to database queries, it's going to be very important to see the models here. The behaviour of select_related() depends on the fields (particularly the relations) in the model. It's impossible to answer the rest of your questions without that information. Except to say that select_related() is very well tested and used in a lot of situations, so I expect it works properly. 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---