How do I update the list of related documents of a collection?
I don't want to do a join, just update a relationship attribute to add one more related document but relationship attributes can't be queried
TL;DR
To update the list of related documents in a collection without using a join, you can query all related document ids and then update the relationship attribute with the full list of ids. This will allow you to use delete on cascade.So I can use delete on cascade
I guess I have to query all related documents ids and update relationship attributte with the full list of ids
Recommended threads
- Server Down
Appwrite services are down. When will they start working again?
- My cloud functions failing 3 days ago (P...
Hi, My cloud function using python has been failing for 3 days, I didn't push any new deployments... Its something to do with it not recognising the entrypoi...
- Scheduled works locking the entire Maria...
I have a scheduled function and apparently that or something is locking the entire MariaDB database and Appwrite is giving MariaDB errors. This error persists e...