Skip to content

Querying models with belongsToMany relation are extremely slow #823

@reramjiawan

Description

@reramjiawan

Environment

  • Operating System: Windows_NT
  • Node Version: v18.13.0
  • Nuxt Version: 3.0.0
  • Nitro Version: 1.0.0
  • Package Manager: npm@8.19.3
  • Builder: vite
  • User Config: ssr, modules
  • Runtime Modules: @pinia/nuxt@0.4.6, @pinia-orm/nuxt@1.1.6
  • Build Modules: -

Reproduction

https://github.com/reramjiawan/pinia-orm-bug

Describe the bug

Querying models with belongsToMany relation are extremely slow.

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions