Opened 15 years ago
Closed 14 years ago
#13678 closed (duplicate)
Improve RawQuerySet coverage
Reported by: | David Cramer | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | 1.2 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Right now the RawQuerySet throws an assertion if the query does not start with SELECT. While this is useful, it cripples the functionality stopping you from doing things like recursive queries in PostgreSQL.
For example, the recursive query looks like:
WITH RECURSIVE ... () SELECT
Change History (2)
comment:1 by , 15 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 14 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
#14733 is newer but has some more discussion, closing this as duplicate.