#31936: On MySQL, Oracle, and SQLite, __in lookup doesn't work on key
transforms.
-------------------------------------+-------------------------------------
Reporter: Sébastien Pattyn | Owner: felixxm
Type: Bug | Status: assigned
Component: Database layer | Version: 3.1
(models, ORM) |
Severity: Release blocker | Resolution:
Keywords: JSONField SQLite | Triage Stage: Accepted
MySQL |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by sage):
`django-mysql` [https://github.com/adamchainz/django-
mysql/blob/master/src/django_mysql/models/lookups.py#L89-L97 customizes
the __in] lookup by [https://github.com/adamchainz/django-
mysql/blob/master/src/django_mysql/models/functions.py#L276-L282 encoding
the rhs and CAST-ing it to JSON]. I think it won't work on MariaDB though,
because we can't do casting to JSON. There may be other ways to do it, but
I haven't got an idea. Same with SQLite and Oracle.
--
Ticket URL: <https://code.djangoproject.com/ticket/31936#comment:6>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/075.1cef6704fe4bd97e6b6d7aa064957141%40djangoproject.com.