Skip to content

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

@pmaresca

Description

@pmaresca

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions