Back

Number of documents to update at once using Cloud Function

  • 0
  • Web
  • Cloud
SanjivJais
31 Aug, 2024, 07:40

I want to update value of an attribute status of multiple documents in the collection at once. At most, how many documents should I update using a loop in the Cloud Function to avoid any timeout or other issues?

TL;DR
Developers want to update the `status` attribute of multiple documents in a Cloud Function. It's safe to update a few hundred documents at once to avoid timeouts or issues in the process.
darShan
31 Aug, 2024, 07:53

a few hundreds work fine.

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