Opened 8 years ago

Closed 8 years ago

#4173 closed (invalid)

attribute selection for QuerySets

Reported by: Jean-Pierre Chauvel <jchauvel@…> Owned by: adrian
Component: Database layer (models, ORM) Version: master
Severity: Keywords: select fields
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Would be nice to see in upcoming versions some way to select model attributes and formulas in QuerySet objects.

Change History (3)

comment:1 Changed 8 years ago by Jean-Pierre Chauvel <jchauvel@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

Please make include ways to do aggregation with QuerySet objects

comment:2 Changed 8 years ago by Collin Grady <cgrady@…>

Select attributes? Like .values() ?

comment:3 Changed 8 years ago by russellm

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

This feature already exists as values(). If you have a specific suggestion that values() doesn't cover, you will need to provide more details in the ticket.

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