#34060: Creating CheckConstraint on JSONField with __exact lookup on key 
transforms
crashes on Oracle.
-------------------------------------+-------------------------------------
     Reporter:  Mariusz Felisiak     |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  4.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  Oracle               |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak):

 Replying to [comment:3 r4ge]:
 > The condition might be
 >
 > {{{
 > if internal_type != "JSONField" and lookup_type == "exact": # if the
 type is not JSONField
 > }}}
 >
 > Can I pick this up?

 This is not a correct solution, as generally `DBMS_LOB.SUBSTR()` is
 necessary for `JSONField`. Do you have an Oracle setup? Unfortunately, you
 will not be able to work on this ticket without it.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34060#comment:4>
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/01070187456d3c09-c2325def-95b3-45aa-903a-19380d633232-000000%40eu-central-1.amazonses.com.

Reply via email to