3 ms·
With dataloading, you can turn anything that would need to be a join into two queries, using whereIns. It just takes a little extra work. I wrote a blog post on
by zackify 8y ago
With dataloading, you can turn anything that would need to be a join into two queries, using whereIns. It just takes a little extra work. I wrote a blog post on this exact issue a while back. https://zach.codes/graphql-query-batching-solutions/ https://zach.codes/graphql-query-batching-solutions/
- zbentley 8y ago> With dataloading, you can turn anything that would need to be a join into two queries *two queries and a lot of extra memory consumption.
- jonnydubowsky 8y agoGreat post! Very helpful thanks