Skip to content

Feature request: Handle Django deferred fields #39

Open
@shaib

Description

@shaib

This library is very helpful in the classic 1+n scenario, where the n queries are caused by following relationships.

There is another, less common scenario, with similar consequences: The original query defers some field, and then the field is accessed when going over the objects. It may seem very unlikely, because deferring has to be done explicitly, but can still happen when the deferring and the access are done in different parts of the code, and much like the classic case, can be improved by adding a call (e.g. defer(None)).

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