#36391: Document RawSQL on “Performing raw SQL queries” page
-------------------------------------+-------------------------------------
     Reporter:  Adam Johnson         |                     Type:
                                     |  Cleanup/optimization
       Status:  new                  |                Component:  Database
                                     |  layer (models, ORM)
      Version:  dev                  |                 Severity:  Normal
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
 #25212 documented
 
[https://docs.djangoproject.com/en/stable/ref/models/expressions/#django.db.models.expressions.RawSQL
 the `RawSQL` expression class]. However, it didn’t add a mention to
 [https://docs.djangoproject.com/en/stable/topics/db/sql/
 `topics/db/sql.txt`], “Performing raw SQL queries”, which lists the “two
 ways” Django gives users to perform raw SQL queries.

 `RawSQL` represents a third way, although it is only usable for subqueries
 of a non-raw `QuerySet` query, so I believe it deserves a mention on that
 page too.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36391>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070196cea9a05a-3f2add5b-f292-42cb-9a8b-67e2cec7388a-000000%40eu-central-1.amazonses.com.

Reply via email to