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

support "soft" delete of mongo documents #6

Closed
JKHeadley opened this issue Nov 1, 2016 · 5 comments
Closed

support "soft" delete of mongo documents #6

JKHeadley opened this issue Nov 1, 2016 · 5 comments
Assignees

Comments

@JKHeadley
Copy link
Owner

Documents are marked as "deleted" but remain in the db.

@JustAnotherUser19401
Copy link

I'm assuming on exit (or some sort of switch) these will be deleted?

@JKHeadley
Copy link
Owner Author

The idea behind this is for consistency/recordkeeping, so by default they would not be deleted. However I would like to provide a "clean" function that would delete all "soft" deleted docs on command. Also possibly support some sort of TTL that would flag docs to be deleted after a certain specified duration.

@JustAnotherUser19401
Copy link

I think I understand now. Best of luck on your project from here forth!

@JKHeadley
Copy link
Owner Author

Thanks!

@JKHeadley JKHeadley self-assigned this Jan 19, 2017
@JKHeadley
Copy link
Owner Author

Added basic soft-delete functionality.

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

No branches or pull requests

2 participants