#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
     Reporter:  Daniel Miller        |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  QuerySet.extra       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Matthew Pava):

 I have the same issue.  I've been thinking about this and wondering if
 maybe we could just convert the Subquery object into a CTE (common table
 expression).  They ought to work just the same, and it really shouldn't
 break backwards compatibility.    At the same time, we could add a kwarg
 to the Subquery object, `recursive`, so that we can create a recursive
 CTE.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:2>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.fede7fafff69802b1dd8bb12755c5783%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to