Open
Description
We could combine queries with an $or
like in @pcorey's article:
http://www.petecorey.com/blog/2017/08/21/advanced-mongodb-query-batching-with-dataloader-and-sift/
How useful is that? We'd have fewer network requests to the server, but I imagine the bulk of the work is the query itself, which I don't imagine is actually getting simpler/faster. And memoization is great, but how likely is a repeat arbitrary query? In the case of findById
it's clearly a common occurrence.