Opened 8 years ago
Closed 8 years ago
#27428 closed Uncategorized (invalid)
Using .extra on Queryset
Reported by: | Subham Kapoor | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | 1.9 |
Severity: | Normal | Keywords: | QuerrySet Extra |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I have a dataset which i need to split into various time interval(lets say monthwise or weekwise). For that i'm using extra.
Note:
See TracTickets
for help on using tickets.
if you have questions about how to use Django, the best places to ask are:
said that, maybe you should look the "Query Expressions" API and related API's:
https://docs.djangoproject.com/en/1.10/ref/models/expressions/
https://docs.djangoproject.com/en/1.10/ref/models/conditional-expressions/
https://docs.djangoproject.com/en/1.10/ref/models/database-functions/