#community-help

Alternative to Get All Documents from Collection

TLDR Stefan sought better options for function, and Dingu offered the advice to use the Typesense export API. However, Stefan acknowledges a misunderstanding and the default Typesense functionality suffices.

Powered by Struct AI
3
29mo
Solved
Join the chat
Apr 10, 2021 (29 months ago)
Stefan
Photo of md5-d6c265b4792dbf0a1d6ae378f39d8736
Stefan
12:12 PM
any better option?
Dingu
Photo of md5-004fc583ae0369576aad100fb57d2273
Dingu
12:15 PM
if you want to just get all the documents from the collection. you could probably use the export API.
https://typesense.org/docs/0.13.0/api/documents.html#export-documents
Stefan
Photo of md5-d6c265b4792dbf0a1d6ae378f39d8736
Stefan
12:16 PM
thank you, bu I think I made a mistake here and typesense does what i want by default