#26128: Colon separate JOIN TYPE in QuerySets.select_related() and
QuerySets.prefetch_related()
----------------------------------------------+-------------------------
Reporter: vinaykrsharma | Owner: nobody
Type: New feature | Status: new
Component: Database layer (models, ORM) | Version: 1.9
Severity: Normal | Keywords: custom join
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------------------+-------------------------
Please use Colon separator to add extra functionality to custom JOIN TYPE
during query:
e.g:
{{{
Car.objects.select_related('car_brand:INNER_JOIN',
'gallery:LEFT_OUTER_JOIN') \
.filter(is_published=True)
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26128>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/056.a3140f0f901c32f98de6419508efaf82%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.