#3592: Allowing Q Objects to select between OUTER and INNER joins (semi-
intelligently)
--------------------------+-------------------------------------------------
Reporter:  [EMAIL PROTECTED]  |       Owner:  adrian          
  Status:  new            |   Component:  Database wrapper
 Version:  SVN            |    Keywords:  Q,QuerySet,JOINs
   Stage:  Unreviewed     |   Has_patch:  1               
--------------------------+-------------------------------------------------
 I would like my Q objects to use LEFT OUTER JOIN or INNER JOIN depending
 on whether or not one is better than the other. e.g. if I do x & y I
 probably want INNER JOIN, but if I do x | y, I think the DEFAULT behavior
 should be an OUTER JOIN if there are any foreign key lookups.
 
 While I do believe a complete QuerySet Refactoring is in order, I feel as
 though the simplicity and the great default behavior that Q objects offer
 is nice to have, and that this patch will improve the default behavior
 tremendously.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3592>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to