#31105: Search within an array in JSON Field
-------------------------------------+-------------------------------------
Reporter: Tharshan | Owner: nobody
Muthulingam |
Type: Bug | Status: closed
Component: Database layer | Version: 2.2
(models, ORM) |
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):
* status: new => closed
* resolution: => duplicate
Comment:
Duplicate of #30826 which is fixed in
[https://github.com/django/django/commit/323467e286787684de18d2731776c71667a296be
Django 2.2.7+].
By looking at the last line of your traceback
{{{
...
File "/Users/viperfx/.pyenv/versions/env/lib/python3.7/site-
packages/django/contrib/postgres/lookups.py", line 11, in as_sql
params = lhs_params + rhs_params
}}}
It's clear that it doesn't contain the tuple wrapping
[https://github.com/django/django/commit/323467e286787684de18d2731776c71667a296be
#diff-ff5f7de85e0c407b5097a8dcc421081fR11 included in the patch].
--
Ticket URL: <https://code.djangoproject.com/ticket/31105#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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.f24348ba1cc0ab05e0d262cfdfaa2758%40djangoproject.com.