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
annotation of another annotation duplicate query rule
Using the ORM
4
988
December 9, 2022
ORM syntax error in django3.2.8 but correct in 2.2
Using Django
3
787
October 28, 2021
Annotate Date interval and get ratio
Using the ORM
3
2981
January 5, 2023
Annotations outcome in generated SQL - duplicates/repetition
ORM
4
1285
March 31, 2022
using annotate to return number of users between two dates
Using the ORM
9
5924
January 29, 2023