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

Complete deletion of objects and their versions #310

Open
megavenik opened this issue Sep 14, 2022 · 2 comments
Open

Complete deletion of objects and their versions #310

megavenik opened this issue Sep 14, 2022 · 2 comments

Comments

@megavenik
Copy link

Hi! Can you please give me an advice?

For example, I have a blog app, where under every post users can save their comments and edit them. But when I delete this blog post, I want all its comments and their history to be deleted.

What is the proper way to do so?

@megavenik
Copy link
Author

hello?)

@marksteward
Copy link
Collaborator

It depends on your hierarchy, but it's probably best to explicitly delete the entries for the blog post and comments. Rolling this up to empty transactions would also need to be done manually.

Happy to consider this as a feature (along with ageing) if people think it's useful.

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

2 participants