JKHeadley/rest-hapi

Recover soft-deleted items

Open

#133 opened on Jun 28, 2018

View on GitHub
 (10 comments) (0 reactions) (0 assignees)JavaScript (1,181 stars) (156 forks)batch import
enhancementgood first issuehelp wanted

Description

Is your feature request related to a problem? Please describe. Aside from serving as an archival process, soft-deletion also helps perform a recovery of the deleted data. Would an update query work on soft-deleted items to remove the deleted flag? Or would it require a MongoDB update?

Describe the solution you'd like The update method can accept a flag to include soft-deleted items. This should allow their recovery.

Contributor guide