Opened 7 years ago

Closed 6 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: UI/UX:

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 Changed 7 years ago by Alex Gaynor

Triage Stage: UnreviewedAccepted

comment:2 Changed 6 years ago by Ramiro Morales

Resolution: duplicate
Status: newclosed

#14733 is newer but has some more discussion, closing this as duplicate.

Note: See TracTickets for help on using tickets.
Back to Top