Skip to content

CASCADE DELETE for models #4

Description

@SubhradeepSS

Implement CASCADE delete for mongoose models without changing the modular structure of models as separate files.

#8 fixes the issue but needs restructuring the code (need to have the model definition of dependent and independent models together). Approach used in #8 : mongoose's remove middleware; eg - https://stackoverflow.com/questions/14348516/cascade-style-delete-in-mongoose

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions