Easy way to run "explain" on query sets in django

Viewed 15028

It seems like it should be easy to run "explain" directly off of a queryset in Django, but I don't see anything obvious for how to do it, and "explain" is a difficult thing to search for in the docs.

3 Answers

QuerySet.explain(), available in Django 2.1.0 and above, is now the official way to explain queries.

Related