#29962: Queryset.explain(verbose=True) doesn't work on non-PostgreSQL backend -------------------------------------+------------------------------------- Reporter: Mohd. Shafikur | Owner: nobody Rahman | Type: Bug | Status: closed Component: Database layer | Version: 2.1 (models, ORM) | Severity: Normal | Resolution: invalid Keywords: | Triage Stage: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Simon Charette):
* status: new => closed * resolution: => invalid Comment: [https://docs.djangoproject.com/en/2.1/ref/models/querysets/#explain As documented] `explain()` accepts backend specific options and the the `verbose=True` option is PostgreSQL specific. > Some databases accept flags that can return more information about the query. Pass these flags as keyword arguments. **For example, when using PostgreSQL**: I managed to get the exact same error when trying to use `verbose=True` with SQLite, which I assume is what you tried doing there, and get a ''verbose'' output on PostgreSQL when using the same option. In the future please use TicketClosingReasons/UseSupportChannels to confirm your issue is a legitimate bug before filling a ticket. -- Ticket URL: <https://code.djangoproject.com/ticket/29962#comment:2> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/069.32affd9b2e9703abe7f8232bcfa9a81a%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.