Skip to content

[Task] Query Optimizations #28

@happydracula

Description

@happydracula

Description

Few repository methods can be optimized

Use Case

Fetch Related data using a JOIN query rather than issuing multiple SELECT's effectively avoiding the N+1 query problem

Suggested Solution

  1. Optimise queries - Instead of fetching related rows separately-we should be fetching them using a single JOIN query. Refer to this: Added onboarding endpoints #27 (comment), Added onboarding endpoints #27 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions