Skip to content

soft deletion and ReferenceField #10

@Janekk

Description

@Janekk

would soft deletion trigger a related data delete if we use a ReferenceField? Example:

class ProfilePage(Document):
    employee = ReferenceField('Employee', reverse_delete_rule=mongoengine.CASCADE)

would deletion of employee also delete the ProfilePage?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions