Skip to content
Back

How to get all the documents from a database?

  • 1
  • Cloud
sharmnten
28 Mar, 2025, 21:37

How could I write a python script that exports all the documents(data, not names), from the database? The list_document function is not working properly, and it only extracts 25 documents at a time? This is very strange behavior, and I have spent 5 hours trying to write a script to do this, and not only does it take 10 minutes to run, it gets repeated documents? How can I do this? Please help ASAP!

Thanks, @sharmnten

TL;DR
Developers want to export all documents from a database using a python script. The list_document function only extracts 25 documents at a time and returns repeated documents. Assistance is needed to successfully extract all data without duplicates.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more