Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate generic cascade deletion in mongo for deleting submission #649

Open
prabh-t opened this issue Dec 5, 2019 · 0 comments
Open

Comments

@prabh-t
Copy link

prabh-t commented Dec 5, 2019

At the moment, deleting a submission involves loading each document within the submission one-by-one, making sure any references to it are removed, before deleting the document itself.

We could implement a more generic solution using string data mongodb lifecycle events such that when a document (in a submission) is deleted, any references to it are also reset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant