#21454: Ignoring certain fields on INSERT and UPDATE queries
-------------------------------------+-------------------------------------
     Reporter:  mpessas              |                    Owner:  mpessas
         Type:  New feature          |                   Status:  assigned
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:  oracle               |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by mpessas):

 Replying to [comment:8 shai]:
 > @mpessas: With all things Oracle, you can always bug me. I only had time
 to glimpse at your patch now, but I will happily work with you to make
 sure that, by the time it is committed, Oracle is not broken.

 Great, thanks! Right now the Oracle backend uses a second query to read
 any updated values, even though it supports the `RETURNING INTO` clause.
 However, I am not that familiar with Oracle to be sure how to make this
 work (or test anything).

 As far as I can tell, Oracle needs to create "bind" variables with a given
 type. Would it work, if I used a list of `Field`s instead of names (right
 now the list of returning values is a list of field ''names'')? That way,
 I guess I should be (somehow, maybe via the `db_type` property) able to
 figure out the type of each field in the returning values list. How does
 this sound? I could work on this, but like I said I have no way to
 actually test any changes.

 By the way, you can email me directly, if we need to coordinate this; it
 is a gmail account with this username.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21454#comment:10>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.2a12cabb418dd95b01a4cf23a8ce9d51%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to