Opened 6 years ago

Closed 5 years ago

#13678 closed (duplicate)

Improve RawQuerySet coverage

Reported by: dcramer 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:


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:


Change History (2)

comment:1 Changed 6 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 5 years ago by ramiro

  • Resolution set to duplicate
  • Status changed from new to closed

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

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