#32213: QuerySet .values()/.values_list() on KeyTransforms return wrong values 
for
double-quoted strings on SQLite and Oracle
-------------------------------------+-------------------------------------
               Reporter:  sage       |          Owner:  sage
                   Type:  Bug        |         Status:  assigned
              Component:  Database   |        Version:  3.1
  layer (models, ORM)                |
               Severity:  Release    |       Keywords:
  blocker                            |
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 Suppose we have a `JSONField` with the value `{'key': '"value"'}`. If
 `.values()`/`.values_list()` are called on a `jsonfield__key` lookup, they
 return `'value'` on SQLite and Oracle. On other backends, they return
 `'"value"'`, which is the correct behavior.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32213>
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/052.9f9f837a182e87c84a218e250515d1e3%40djangoproject.com.

Reply via email to