#22907: ArrayField querying doesn't work with CharField
----------------------------------+--------------------
Reporter: Suor | Owner:
Type: Bug | Status: new
Component: contrib.postgres | Version: master
Severity: Release blocker | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------
When trying to make query with
`CharArrayModel.objects.filter(field__contains=['text'])` I get:
{{{
ProgrammingError: operator does not exist: character varying[] @> text[]
LINE 1: ...el" WHERE "postgres_tests_chararraymodel"."field" @> ARRAY['...
^
HINT: No operator matches the given name and argument type(s). You might
need to add explicit type casts.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22907>
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/047.4912f6bc46bae58458d29b10cf766884%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.