Skip to content

Dev trace option to locate non optimal queries #1

@thihara

Description

@thihara

Virtual relations can result in N+1 operations, the developer will not realize that an additional DB operation occurs when accessing a field.

N+1 is not the only issue, it could also result in singular queries that are not necessary.

Add a dev option to print warnings whenever we are loading the virtual relations, so it would be easier to trace non optimal and unintentional queries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions