Changes between Initial Version and Version 1 of Ticket #28919, comment 2


Ignore:
Timestamp:
Dec 18, 2017, 10:12:17 AM (6 years ago)
Author:
Matthew Pava

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28919, comment 2

    initial v1  
    1 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.
     1I 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.  I think it would show how powerful the ORM is.  It already handles everything else we need with RCTEs, including `union` queries and `union all` queries.
Back to Top