Cascade delete between linked documents belonging to different collections

In case I have a collection A and a collection B linked together (not embedded), is it possible to automatically cascade the deletion of a document b1 when deleting a document a1 belonging to A linked to b1 ?

Hi @Khaled_Ben_Ahmed ,

I’ve written an article using Atlas triggers and preimage to do exactly that:

Thanks
Pavel

3 Likes

Hi @Pavel_Duchovny ,
That’s exactly what I was looking for.

Thanks

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.