mongoose-soft-delete
mongoose-soft-delete copied to clipboard
Request: WorkAround for `deletedBy`
Is there any work around to introduce deletedBy
field which will contain the ID of the currently logged in user?
You can use mongoose-audit-log
or mongoose-audit-trail
plugin for that.