#29865: Add logical XOR support to Q() and QuerySet(). -------------------------------------+------------------------------------- Reporter: Griffith Rees | Owner: Ryan | Heard Type: New feature | Status: assigned Component: Database layer | Version: 2.1 (models, ORM) | Severity: Normal | Resolution: Keywords: xor | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Ryan Heard): Replying to [comment:14 Mariusz Felisiak]: > Tim asked for starting a discussion on DevelopersMailingList, as far as I'm aware we don't have any. Also I'm not sure how widely `XOR` is used in queries, I never needed this. Mariusz, thank you for taking a look at this. As far I know there is no discussion on the mailing list but I welcome one. I have needed this in one instance and it would've helped, as one part of the operation was a large complex subquery that I would've liked to have only once. Unfortunately I found out doing this that my backend, Postgres, doesn't even support the XOR operator. It would still be nice to have to clean up the code though, and users of MySQL can still benefit from it. -- Ticket URL: <https://code.djangoproject.com/ticket/29865#comment:15> Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/063.965662fccd4224107088e704f9bd5e53%40djangoproject.com.