thunder icon indicating copy to clipboard operation
thunder copied to clipboard

Batching SQL queries with GORM

Open KevinBacas opened this issue 5 years ago • 1 comments

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 😃

KevinBacas avatar Aug 27 '19 13:08 KevinBacas

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

kevinmichaelchen avatar Nov 06 '20 00:11 kevinmichaelchen