Runs an EXPLAIN on the SQL query this QuerySet would perform, and returns the results.
(self, *, format=None, **options)
| 1468 | self._prefetch_done = True |
| 1469 | |
| 1470 | def explain(self, *, format=None, **options): |
| 1471 | """ |
| 1472 | Runs an EXPLAIN on the SQL query this QuerySet would perform, and |
| 1473 | returns the results. |
| 1474 | """ |
| 1475 | return self.query.explain(using=self.db, format=format, **options) |
| 1476 | |
| 1477 | async def aexplain(self, *, format=None, **options): |
| 1478 | return await sync_to_async(self.explain)(format=format, **options) |
no outgoing calls