Currently you can only retrieve one document at a time using https://typesense.org/docs/27.0/api/documents.html#retrieve-a-document. We have several instances where we need to retrieve multiple documents at once by their id, so currently we have to use a for loop to get them one at a time which is unnecessary overhead.
Please could you add something like client.collections('companies').documents(['123', '456', '789']).retrieve() that would get back the 3 documents in question?
Currently you can only retrieve one document at a time using https://typesense.org/docs/27.0/api/documents.html#retrieve-a-document. We have several instances where we need to retrieve multiple documents at once by their id, so currently we have to use a for loop to get them one at a time which is unnecessary overhead.
Please could you add something like
client.collections('companies').documents(['123', '456', '789']).retrieve()
that would get back the 3 documents in question?Thanks 😄