Querying multiple documents at once
Hello everyone, I'm sorry I don't have a lot of experience in BE development-- I'm mainly a frontend dev.
Is it possible to query a set of documents from the db with the argument being an array of ids rather than just one?
2 Replies
If you have ids, map over them concurrently. It'll be real fast.
I'm sure there's an upper bound here, but I've done this with hundreds of ids without a problem.
Also, no need to apologize for being a frontend dev here, I'm the same 🙂
Yep, that does the job perfectly. interesting solution.
Thank you very much @erquhart!