JKHeadley/rest-hapi

Recover soft-deleted items

Open

#133 aperta il 28 giu 2018

Vedi su GitHub
 (10 commenti) (0 reazioni) (0 assegnatari)JavaScript (156 fork)batch import
enhancementgood first issuehelp wanted

Metriche repository

Star
 (1181 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor