[Django] #28919: Add support for Common Table Expression (CTE) queries

121 visningar
Hoppa till det första olästa meddelandet

Django

oläst,
12 dec. 2017 16:18:282017-12-12
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel | Owner: nobody
Miller |
Type: New | Status: new
feature |
Component: Database | Version: 2.0
layer (models, ORM) |
Severity: Normal | Keywords: QuerySet.extra
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
[http://django-cte-trees.readthedocs.io/en/latest/ django-cte-trees] (also
[https://github.com/matthiask/django-cte-forest django-cte-forest])
provides specialized uses of CTE queries for managing hierarchical data
with recursive queries. To accomplish this, it uses the `QuerySet.extra()`
API. This is my specific use case for CTE queries at the moment, however
it leverages only one small part of what is possible with CTE queries:
[https://www.postgresql.org/docs/9.6/static/queries-with.html PostgreSQL],
[https://dev.mysql.com/doc/refman/8.0/en/with.html MySQL],
[https://docs.microsoft.com/en-us/sql/t-sql/queries/with-common-table-
expression-transact-sql SQL Server].

Another implementation supporting more general uses of CTE queries was
[https://groups.google.com/forum/#!topic/django-developers/b370mxfKCHg
presented on the developers mailing list], although I'm not sure it has
ever made it any further than that. The code can be found
[https://github.com/django/django/compare/master...ashleywaite:cte-dev on
github]. It appears to do its magic by mutating `base_query.extra_tables`,
which seems to be a private/internal part of the ORM.

--
Ticket URL: <https://code.djangoproject.com/ticket/28919>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

oläst,
12 dec. 2017 22:02:172017-12-12
till django-...@googlegroups.com
#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
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* version: 2.0 => master
* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:1>

Django

oläst,
18 dec. 2017 11:09:512017-12-18
till django-...@googlegroups.com
#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

oläst,
16 jan. 2018 00:57:022018-01-16
till django-...@googlegroups.com
#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 ErikW):

I like Matthew's idea of reusing Subquery as the basis for CTEs since
behind the scenes CTEs are really just syntactic sugar for Subqueries.
I'd just like to add that being able to pull multiple values/aggregates
from the Subquery/CTE would really push this over the top as a huge
performance boost for complex analytical queries.

--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:3>

Django

oläst,
24 jan. 2018 17:39:312018-01-24
till django-...@googlegroups.com
#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
-------------------------------------+-------------------------------------
Changes (by Matthew Pava):

* cc: Matthew Pava (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:4>

Django

oläst,
26 feb. 2018 16:31:342018-02-26
till django-...@googlegroups.com
#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 Daniel Miller):

I implemented generic CTE support for Django: https://github.com/dimagi
/django-cte

Would be happy to contribute this to be included with Django. Feedback is
welcome.

--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:5>

Django

oläst,
8 mars 2018 05:24:132018-03-08
till django-...@googlegroups.com
#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
-------------------------------------+-------------------------------------
Changes (by Tyson Clugg):

* cc: Tyson Clugg (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:6>

Django

oläst,
26 mars 2018 09:47:412018-03-26
till django-...@googlegroups.com
#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 pwfff):

Replying to [comment:5 Daniel Miller]:


> I implemented generic CTE support for Django: https://github.com/dimagi
/django-cte
>
> Would be happy to contribute this to be included with Django. Feedback
is welcome.

This has worked well for me, with the one exception of not being able to
do an outer join since the library just uses extra_tables.

--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:7>

Django

oläst,
28 mars 2018 14:12:022018-03-28
till django-...@googlegroups.com
#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 pwfff):

I have a PR here, but it's incomplete in some ways:
https://github.com/dimagi/django-cte/pull/1
I could use some help from someone more familiar with the Query object and
how it handles joins/aliases.

--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:8>

Django

oläst,
18 apr. 2018 11:11:492018-04-18
till django-...@googlegroups.com
#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 Daniel Miller):

It's now been refactored to not use `extra_tables`, and there is a secret
(undocumented, experimental API) way to do a left outer join.

--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:9>

Django

oläst,
14 maj 2018 20:26:402018-05-14
till django-...@googlegroups.com
#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
-------------------------------------+-------------------------------------
Changes (by Matthew Schinckel):

* cc: Matthew Schinckel (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:10>

Django

oläst,
13 juli 2018 11:45:042018-07-13
till django-...@googlegroups.com
#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
-------------------------------------+-------------------------------------
Changes (by Ole Laursen):

* cc: Ole Laursen (added)


Comment:

Daniel Miller: Can I humbly suggest you raise this on django-developers? I
would guess this needs a discussion of the actual API for adding the table
expressions and joining with them.

--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:11>

Django

oläst,
16 juli 2018 10:15:122018-07-16
till django-...@googlegroups.com
#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 Daniel Miller):

Ole Laursen: that's a good idea. I'm a bit busy with other work right now,
but I'll add it to my backlog.

--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:12>

Django

oläst,
26 aug. 2018 18:59:172018-08-26
till django-...@googlegroups.com
#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
-------------------------------------+-------------------------------------
Changes (by Ian Foote):

* cc: Ian Foote (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:13>

Django

oläst,
8 mars 2019 05:43:312019-03-08
till django-...@googlegroups.com
#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
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):

* cc: Carlton Gibson (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:14>

Django

oläst,
17 apr. 2019 05:04:422019-04-17
till django-...@googlegroups.com
#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
-------------------------------------+-------------------------------------
Changes (by TZanke):

* cc: TZanke (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:15>

Django

oläst,
10 juni 2019 09:56:512019-06-10
till django-...@googlegroups.com
#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
-------------------------------------+-------------------------------------
Changes (by Keryn Knight):

* cc: Keryn Knight (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:16>

Django

oläst,
24 juni 2019 14:38:492019-06-24
till django-...@googlegroups.com
#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 Javier Buzzi):

Bump.

--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:17>

Django

oläst,
20 aug. 2019 15:41:482019-08-20
till django-...@googlegroups.com
#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 Javier Buzzi):

Any updates?

--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:18>

Django

oläst,
21 aug. 2019 02:36:012019-08-21
till django-...@googlegroups.com
#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 felixxm):

Javier, patch is welcome. Leaving comments doesn't change anything and is
not helpful.

--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:19>

Django

oläst,
18 feb. 2020 14:28:122020-02-18
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel Miller | Owner: Moses
| Mugisha
Type: New feature | Status: assigned

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
-------------------------------------+-------------------------------------
Changes (by Moses Mugisha):

* owner: nobody => Moses Mugisha
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:20>

Django

oläst,
19 feb. 2020 13:35:112020-02-19
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel Miller | Owner: Moses
| Mugisha
Type: New feature | Status: assigned
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
-------------------------------------+-------------------------------------
Changes (by Timothy Schilling):

* cc: Timothy Schilling (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:21>

Django

oläst,
6 apr. 2020 12:04:102020-04-06
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel Miller | Owner: Moses
| Mugisha
Type: New feature | Status: assigned
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
-------------------------------------+-------------------------------------
Changes (by Ryan Hiebert):

* cc: Ryan Hiebert (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:22>

Django

oläst,
14 maj 2020 17:20:282020-05-14
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel Miller | Owner: Moses
| Mugisha
Type: New feature | Status: assigned
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
-------------------------------------+-------------------------------------
Changes (by Markus Zapke-Gründemann):

* cc: Markus Zapke-Gründemann (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:23>

Django

oläst,
11 juni 2020 16:59:382020-06-11
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel Miller | Owner: Moses
| Mugisha
Type: New feature | Status: assigned
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
-------------------------------------+-------------------------------------
Changes (by Hannes Ljungberg):

* cc: Hannes Ljungberg (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:25>

Django

oläst,
8 juni 2021 05:24:512021-06-08
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel Miller | Owner: Moses
| Mugisha
Type: New feature | Status: assigned
Component: Database layer | Version: dev

(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
-------------------------------------+-------------------------------------
Changes (by Jameel A.):

* cc: Jameel A. (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:27>

Django

oläst,
8 juli 2021 08:23:082021-07-08
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel Miller | Owner: Moses
| Mugisha
Type: New feature | Status: assigned
Component: Database layer | Version: dev
(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
-------------------------------------+-------------------------------------
Changes (by Paolo Melchiorre):

* cc: Paolo Melchiorre (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:28>

Django

oläst,
20 juli 2021 03:52:112021-07-20
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel Miller | Owner: Moses
| Mugisha
Type: New feature | Status: assigned
Component: Database layer | Version: dev
(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
-------------------------------------+-------------------------------------
Changes (by Krzysztof Szularz):

* cc: Krzysztof Szularz (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:29>

Django

oläst,
14 aug. 2021 12:16:112021-08-14
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel Miller | Owner: Moses
| Mugisha
Type: New feature | Status: assigned
Component: Database layer | Version: dev
(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
-------------------------------------+-------------------------------------
Changes (by crypted):

* cc: crypted (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:30>

Django

oläst,
3 okt. 2021 07:51:492021-10-03
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel Miller | Owner: Moses
| Mugisha
Type: New feature | Status: assigned
Component: Database layer | Version: dev
(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
-------------------------------------+-------------------------------------
Changes (by John Speno):

* cc: John Speno (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:31>

Django

oläst,
30 nov. 2021 08:07:442021-11-30
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel Miller | Owner: Moses
| Mugisha
Type: New feature | Status: assigned
Component: Database layer | Version: dev
(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
-------------------------------------+-------------------------------------
Changes (by Julien Palard):

* cc: Julien Palard (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:32>

Django

oläst,
13 dec. 2021 11:42:552021-12-13
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel Miller | Owner: Moses
| Mugisha
Type: New feature | Status: assigned
Component: Database layer | Version: dev
(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
-------------------------------------+-------------------------------------
Changes (by Dave Johansen):

* cc: Dave Johansen (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:33>

Django

oläst,
26 jan. 2022 02:28:082022-01-26
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel Miller | Owner: Moses
| Mugisha
Type: New feature | Status: assigned
Component: Database layer | Version: dev
(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
-------------------------------------+-------------------------------------
Changes (by Peter Lithammer):

* cc: Peter Lithammer (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:34>

Django

oläst,
27 maj 2022 06:03:552022-05-27
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel Miller | Owner: Moses
| Mugisha
Type: New feature | Status: assigned
Component: Database layer | Version: dev
(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
-------------------------------------+-------------------------------------
Changes (by Fabio Caritas Barrionuevo da Luz):

* cc: Fabio Caritas Barrionuevo da Luz (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:35>

Django

oläst,
11 okt. 2022 03:51:102022-10-11
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel Miller | Owner: Moses
| Mugisha
Type: New feature | Status: assigned
Component: Database layer | Version: dev
(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
-------------------------------------+-------------------------------------
Changes (by Sébastien Corbin):

* cc: Sébastien Corbin (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:36>

Django

oläst,
29 nov. 2022 10:56:222022-11-29
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel Miller | Owner: Moses
| Mugisha
Type: New feature | Status: assigned
Component: Database layer | Version: dev
(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
-------------------------------------+-------------------------------------
Changes (by Eron Lloyd):

* cc: Eron Lloyd (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:37>

Django

oläst,
22 nov. 2023 09:32:472023-11-22
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel Miller | Owner: Moses
| Mugisha
Type: New feature | Status: assigned
Component: Database layer | Version: dev
(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
-------------------------------------+-------------------------------------
Changes (by Peter Thomassen):

* cc: Peter Thomassen (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:38>

Django

oläst,
28 nov. 2023 03:39:512023-11-28
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel Miller | Owner: Moses
| Mugisha
Type: New feature | Status: assigned
Component: Database layer | Version: dev
(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
-------------------------------------+-------------------------------------
Changes (by Tom Carrick):

* cc: Tom Carrick (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:39>

Django

oläst,
3 feb. 2024 11:45:163 feb.
till django-...@googlegroups.com
#28919: Add support for Common Table Expression (CTE) queries
-------------------------------------+-------------------------------------
Reporter: Daniel Miller | Owner: Moses
| Mugisha
Type: New feature | Status: assigned
Component: Database layer | Version: dev
(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
-------------------------------------+-------------------------------------
Changes (by Dmytro Litvinov):

* cc: Dmytro Litvinov (added)

--
Ticket URL: <https://code.djangoproject.com/ticket/28919#comment:40>

Svara alla
Svara författaren
Vidarebefordra
0 nya meddelanden