You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to configure bun to load relations by multiple query instead of join?
If you're doing belongs-to & has-one, this would cause N+1 queries. If you're doing relations on a m2m or has-many it should already do this for you.
If you still want to do this, you can always have a struct that you append to with the query results, but I imagine that would be very slow and probably not optimal for any database.
Is it possible to configure bun to load relations by multiple query instead of join?
The text was updated successfully, but these errors were encountered: