Hi, Is there a way that when creating a new attribute the default value is changed for all the documents already created since this is set to null
TL;DR
The user wants to change the default value for already created documents in Appwrite. However, Appwrite does not provide a feature to backfill this data automatically. Therefore, the user needs to manually update the default value for each document. This will resolve conflicts such as null values.
hortigado
22 Jul, 2023, 17:21
For example, I set the default value to 0 and the documents already created are saved as null, creating conflicts
Drake
22 Jul, 2023, 22:21
Appwrite doesn't backfill data. You'll have to do that yourself
hortigado
23 Jul, 2023, 00:24
too bad ☹️ , that feature is useful
hortigado
23 Jul, 2023, 00:25
[SOLVED] Default value for already created documents