#32519: Add support for using key and path transforms in update() for 
JSONFields.
-------------------------------------+-------------------------------------
     Reporter:  Baptiste Mispelon    |                    Owner:  Shafiya
                                     |  Adzhani
         Type:  New feature          |                   Status:  assigned
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

 * cc: Simon Charette (added)
 * needs_better_patch:  0 => 1

Comment:

 Left a few comments on PR.

 It's in a relatively good shape but there are possible SQL injection
 vectors with keys and while the documentation points out that `JSONSet`
 can be used instead of directly altering a `JSONField` value it doesn't
 explain ''why'' someone would want to do this.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/32519#comment:19>
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 visit 
https://groups.google.com/d/msgid/django-updates/01070192f291f6ed-0b074793-9dc5-4a47-bd6b-f875c9e04193-000000%40eu-central-1.amazonses.com.

Reply via email to