Skip to content

Multiple delete in database #82

@LucasClaisse

Description

@LucasClaisse

In case a delete should delete several documents in several collections, we should check first if everything is deleted and rollback if an error occur in the second delete.

Example:

  1. Delete library
  2. Delete related books
  3. If error in delete books -> Cancel delete library
  4. Return an error

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew or change of feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions