#26511: Document how to do a substring search in JSONField
--------------------------------------+------------------------------------
     Reporter:  eoinmurray            |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Documentation         |                  Version:  master
     Severity:  Normal                |               Resolution:
     Keywords:  postgres, jsonb       |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  1
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by timgraham):

 * needs_better_patch:  0 => 1


Comment:

 Marking as "Patch needs improvement" per Simon's comment, "Searching a
 whole JSON blob seems like a bad practice to me." The technique described
 in comment:3 doesn't work, so it's possible some code changes might also
 be needed to allow the desired behavior.

--
Ticket URL: <https://code.djangoproject.com/ticket/26511#comment:9>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.3435e92d4d174f6f61ad413cdd6130b8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to