#community-help

Fetching Multiple Documents from Collection Using IDs

TLDR David inquired about fetching multiple documents from a collection using ids. Kishore Nallan provided a solution, which was well-received by David.

Powered by Struct AI

1

Aug 17, 2023 (3 months ago)
David
Photo of md5-07c4f1bfa85fc4a2759ba7302f0b86da
David
12:20 PM
can i fetch multiple documents from a collection by using its ids? i know about `
documents/124

but can I do like
documents/124,125,126

?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
12:38 PM
"filter_by": "id: [124, 125, 126]"
David
Photo of md5-07c4f1bfa85fc4a2759ba7302f0b86da
David
12:40 PM
🙏 thanks Kishore Nallan

1