Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Batching SQL queries with GORM #307

Open
KevinBacas opened this issue Aug 27, 2019 · 1 comment
Open

Batching SQL queries with GORM #307

KevinBacas opened this issue Aug 27, 2019 · 1 comment

Comments

@KevinBacas
Copy link

Hello everyone!

I'm using thunder as a GraphQL server for a personal project and I would like to prevent gorm from preloading everything especially when it does not have to.
I saw the batching example with sqlgen and livesql but it does not seem to work with GORM.

Can anyone give me an example of how to do this with GORM?

Thank you for your help 😃

@kevinmichaelchen
Copy link

Seems related to #200 and #335, although there hasn't been any activity on either of those issues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants