Opened 11 years ago

Closed 9 years ago

#1803 closed enhancement (wontfix)

[patch] Adding QuerySet.union() and intersection()

Reported by: mir@… Owned by: nobody
Component: Database layer (models, ORM) Version:
Severity: normal Keywords:
Cc: Triage Stage: Design decision needed
Has patch: yes Needs documentation: yes
Needs tests: yes Patch needs improvement: no
Easy pickings: UI/UX:

Description

This patch adds set like methods union() and intersection() to QuerySets. These are mere aliases for or respectively and

Attachments (2)

union_set.diff (3.4 KB) - added by mir@… 11 years ago.
Patch
union_set.2.diff (3.3 KB) - added by mir@… 11 years ago.
patch, this time probably trac-readable. Replaces other patch.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by mir@…

Attachment: union_set.diff added

Patch

Changed 11 years ago by mir@…

Attachment: union_set.2.diff added

patch, this time probably trac-readable. Replaces other patch.

comment:1 Changed 10 years ago by Chris Beaven

Triage Stage: UnreviewedDesign decision needed

What are these methods needed for?

comment:2 Changed 10 years ago by Michael Radziej <mir@…>

Needs documentation: set
Needs tests: set

Oh my, this is old ;-) Adrian asked for it. If I can find the thread, I'll provide a link.

comment:3 Changed 9 years ago by Michael Radziej

Resolution: wontfix
Status: newclosed

I retract this patch, there's really no good reason for this.

Note: See TracTickets for help on using tickets.
Back to Top