Opened 6 years ago

Closed 6 years ago

#17844 closed Uncategorized (invalid)

Propose to add generated sql queries in the doc of aggregation/annotation

Reported by: peebor@… Owned by: nobody
Component: Documentation Version: 1.3
Severity: Normal Keywords: query aggregate annotate raw
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I'm currently trying to figure out how to write the correct and efficient query using annotation; much like the example in:


Thing is that i know the raw query i want to have but have trouble describing it with the db api; (which i do prefer over inserting raw sql using extra). It may help when the examples are extended with the generated/raw sql queries: select .... etc.

Change History (1)

comment:1 Changed 6 years ago by Russell Keith-Magee

Resolution: invalid
Status: newclosed

If you have questions about how to use Django, please ask on the Django Users mailing list. Trac is for registering known bugs so that we can ensure that they are resolved.

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