#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: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Shafiya Adzhani):
* needs_better_patch: 1 => 0
Comment:
As discussed in the PR, we are going to split the work for this ticket
into two parts:
- Adding JSONSet and JSONRemove
- Adding support for using key and path transforms in update()
The latter requires non-trivial amount of refactoring in some hot code
paths of the ORM. We think it would be best to get the JSONSet and
JSONRemove functions in first and "let them simmer for a release". Once
people have got the chance to play around with the functions, we will
revisit the transform support later.
Here is the link for new PR: https://github.com/django/django/pull/18758
--
Ticket URL: <https://code.djangoproject.com/ticket/32519#comment:18>
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/01070192f26e0875-9984334e-06a6-460f-9d0c-a023a38acdc9-000000%40eu-central-1.amazonses.com.