Opened 9 years ago

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

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by mir@…

Patch

Changed 9 years ago by mir@…

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

comment:1 Changed 8 years ago by SmileyChris

  • Triage Stage changed from Unreviewed to Design decision needed

What are these methods needed for?

comment:2 Changed 8 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 8 years ago by mir

  • Resolution set to wontfix
  • Status changed from new to closed

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

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