Code

Opened 4 years ago

Closed 3 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:

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

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by Alex

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

comment:2 Changed 3 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.