Opened 19 years ago

Closed 17 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: no UI/UX: no

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@… 19 years ago.
Patch
union_set.2.diff (3.3 KB ) - added by mir@… 19 years ago.
patch, this time probably trac-readable. Replaces other patch.

Download all attachments as: .zip

Change History (5)

by mir@…, 19 years ago

Attachment: union_set.diff added

Patch

by mir@…, 19 years ago

Attachment: union_set.2.diff added

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

comment:1 by Chris Beaven, 18 years ago

Triage Stage: UnreviewedDesign decision needed

What are these methods needed for?

comment:2 by Michael Radziej <mir@…>, 18 years ago

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 by Michael Radziej, 17 years ago

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