Skip to content
Sites Hackathon is live / Aug 29 - Sep 12
Back

Something is wrong with bulk update documents API

  • 0
  • Self Hosted
  • Databases
darkmess
31 Aug, 2025, 12:22

1 - Create a collection with attributes A and B, set B as non required with a default value 2 - Create some documents with data value for A and B 3 - Call updateDocuments() to change values of attribute A 4 - Verify that attribute B gets reset to the default value in the updated documents

TL;DR
Issue: Developers are encountering a problem with the bulk update documents API where attribute B, which is set as non-required with a default value, is not resetting to the default value when updating attribute A in the documents. Solution: Ensure that the updateDocuments() method correctly resets attribute B to its default value when modifying attribute A in the documents.
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