
I have an existing database collection. The collection already has multiple documents. I tried to add a new attribute called "rating" with default value of 0. The attribute was added in all documents but its value was set to "null" rather than 0. Isn't it a bug ? How to set it to 0 ?

I noticed when i set a default boolean value in my collection i was also just getting null, even from the console it didn't reflect. Looks like a bug, let's see what the Pro's have to say

This is expected. Appwrite doesn't automatically set the value for old documents. You can use a server SDK to update old documents:
https://github.com/appwrite/appwrite/issues/2768#issuecomment-1506322491
Recommended threads
- queries.map is not a function
Query.createdBefore doesnt work ``` tables.updateRows({ databaseId: process.env.APPWRITE_DATABASE_ID, tableId: process.env.APPWRITE_TABLE_ID, ...
- Creating a relationship with nested obje...
{ "data": { "name": "DiDi", "type": "Software Development", "userJobs": [{ "$id": "68cbf1e2003612fb13ca", "j...
- Realtime integration with SSR auth
Hey, I have a nextjs website with SSR auth, works great. I use a session client for user verification and an admin client with API key. Both is used with node-...
