#31506: Clarify that ExpressionWrapper is not the tool to use when coping with
DateField and timedelta arithmetic quirks on PostgreSQL and MySQL
-------------------------------------+-------------------------------------
Reporter: Matthieu Rigal | Owner: Hwayoung
Type: | Cha
Cleanup/optimization | Status: closed
Component: Documentation | Version: dev
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls <jacobtylerwalls@…>):
In [changeset:"122b2dc569bb2074367188621e1acd87f35d91a1" 122b2dc]:
{{{#!CommitTicketReference repository=""
revision="122b2dc569bb2074367188621e1acd87f35d91a1"
[6.0.x] Fixed #31506 -- Clarified that ExpressionWrapper does not perform
database casts.
Added warning in DateField documentation about type differences when using
timedelta on PostgreSQL and MySQL. Mentioned Cast() and integer arithmetic
solutions.
Backport of 55af4749b9a48b2978e893e7d7be313c0b2abdb1 from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31506#comment:16>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019ac060969f-bed881db-39d1-4823-880e-3b07ba21f46f-000000%40eu-central-1.amazonses.com.