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.
Aug 17, 2023 (3 months ago)
but can I do like
Kishore Nallan12:38 PM
"filter_by": "id: [124, 125, 126]"
Indexed 3015 threads (79% resolved)
Retrieving Multiple Documents Through API
Chetan inquired about retrieving multiple documents through API. Jason advised using filter_by for this purpose.
Clarifying Filter_by IDs in API Requests
Richard asked about deleting multiple documents by ID using `filter_by=id: [id1, id2, id3]`. Jason clarified that it should be `filter_by=id:=[1,2,3]` and recommended using `:=` for exact matches.
Adding and Filtering Multiple IDs to a 'permissions' Field
Sean sought advice on restricting document access by adding multiple numeric IDs to a 'permissions' field. Sandip confirmed it was possible and provided a search request example.