Will it be possible to give default values to relationship attributes in future?
But, what you mean by default? So some relationship attributes will be related to some other document by default?
yes
i know its trouble if the other doc gets deleted
in that case default can be null automatically
For now, for example, you can set that when a document gets deleted then the field will turn to null, And you want it to be some default ID?
Recommended threads
- Fulltext index creation fails due to Inn...
I'm running a self-hosted Appwrite 1.8.1 instance and encountering an issue when creating fulltext indexes on a collection. **The Problem:** Fulltext index cre...
- Cannot Update Empty oneToMany Relationsh...
Appwrite's `updateDocument()` API cannot update an empty oneToMany relationship array. When attempting to update an empty relationship with a single-item array,...
- total parameter not working correctly in...
Hello Appwrite team, I'm experiencing issues with the total parameter in the listRows() method (TablesDB) across multiple SDKs. **Issue 1**: Node.js SDK (node...