#24709: ArrayField doesn't support .update() and F() objects
-------------------------------------+-------------------------------------
     Reporter:  ris                  |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  contrib.postgres     |                  Version:  1.8
     Severity:  Normal               |               Resolution:
     Keywords:  postgresql contrib   |             Triage Stage:  Accepted
  arrayfield update                  |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by jarshwah):

 This seems like a very similar problem to how F() and Sum() evolved
 separately when they could have been the same with a little (lot..) more
 work. Marc, could you require that the inputs to Array/HStore be
 expressions (with an appropriate _parse_expression() to wrap basic values
 in Value())? If you provide support for expressions only, then getting
 basic values in comes fairly naturally too.

 I haven't looked into the implementation of these fields though, so I
 don't know how feasible it would be to support.

--
Ticket URL: <https://code.djangoproject.com/ticket/24709#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 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/061.64bab7b6b215b2b7adf604f4d0fa611c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to