Django Forum
Annotate duration/integer -> MySql error
Using Django
Using the ORM
KenWhitesell
March 24, 2022, 12:20pm
7
It’s possible that you may want to try adding an extra set of parens around that expression.
e.g.
Annotate Date interval and get ratio
show post in topic
Related topics
Topic
Replies
Views
Activity
using annotate to return number of users between two dates
Using the ORM
9
5243
January 29, 2023
Annotations outcome in generated SQL - duplicates/repetition
ORM
4
1217
March 31, 2022
ORM syntax error in django3.2.8 but correct in 2.2
Using Django
3
738
October 28, 2021
Looking for a specific database query
Using Django
2
624
April 11, 2021
Migrate-Problem with models.DurationField()
Using Django
5
2184
December 22, 2021