#30566: Unable to do key lookup when a key is a number on PostgreSQL JSONB field
-------------------------------------+-------------------------------------
Reporter: NyanKiyoshi | Owner: (none)
Type: Bug | Status: closed
Component: contrib.postgres | Version: 2.2
Severity: Normal | Resolution: wontfix
Keywords: json, jsonb, | Triage Stage:
postgres | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):
* status: new => closed
* resolution: => wontfix
Comment:
This is the documented behaviour. See
[https://docs.djangoproject.com/en/2.2/ref/contrib/postgres/fields/#key-
index-and-path-lookups Key index and path lookups].
Any change would need to go via the DevelopersMailingList.
(Without really thinking about it, I'd guess a workaround might need to
use a custom lookup...)
--
Ticket URL: <https://code.djangoproject.com/ticket/30566#comment:1>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.64941e906158ca94d911cdb60b30882a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.