#25643: Allow update() with aggregates and joins via subqueries
-------------------------------------+-------------------------------------
     Reporter:  jorgecarleitao       |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Shai Berger):

 * cc: Shai Berger (added)


Comment:

 Replying to [comment:3 Marc Tamlyn]:
 > For what it's worth, `update .. from ..` definitely works in PG as well.

 ... and starting with version 3.3.0, SQLite supports the PG syntax as
 well.

 SQLite goes further, to provide a
 
[https://www.sqlite.org/lang_update.html#update_from_in_other_sql_database_engines
 review of the feature in other databases] -- MySQL/MariaDB apparently
 support it too, but use a slightly different syntax.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/25643#comment:5>
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/072.9079556de7427da0bd86c43be729b5ac%40djangoproject.com.

Reply via email to