Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing of kwargs to django queryset explains in analyze_queryset #2

Open
pmaresca opened this issue Nov 9, 2021 · 0 comments

Comments

@pmaresca
Copy link

pmaresca commented Nov 9, 2021

In some instances Django's explain() can accept additional keyword args. At the moment analyze_queryset() doesn't pass any kwargs on Django explain() calls. So if you use this utility on any Django querysets related to a Postgres db, you only get EXPLAIN instead of EXPLAIN ANALYZE. Passing these args when available and supported would be rather convenient and make analyze_queryset actually analyze on Django QuerySet objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant