#31836: JSONField's __contains and __contained_by lookups don't work with nested
values on SQLite.
-------------------------------------+-------------------------------------
Reporter: felixxm | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 3.1
(models, ORM) |
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by felixxm):
I've attached a draft solution but it's really hot and it doesn't handle
list with dicts (...deep rabbit hole). IMO we should drop support for
these lookups on SQLite, at least for now. Testing containment of
`JSONField` is really complicated, I hope SQLite and Oracle will prepare
native solutions in future versions.
--
Ticket URL: <https://code.djangoproject.com/ticket/31836#comment:2>
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/065.17938a3dcd744af1e0875126bcce433d%40djangoproject.com.