четверг, 5 июля 2012 г., 20:40:00 UTC+7 пользователь Tomas Neme написал: > > I might not be understanding this fully, but what about > A.objects.filter(type__mnemo__startswith="type1")? > > Wouldn't it create INNER JOIN query on a_type table? AFAIR it would and it's a bit overhead. But surely it is a better solution than mine one, thanks for that.
-- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/Zi67xUNhMNgJ. To post to this group, send email to [email protected]. 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.

