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.