Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1298

ON DELETE, ON CASCADE for DBRef

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Usability, Write Ops
    • None

    Description

      I love the way MongoDB handles data.

      But there is no mechanism for 'foreign keys' in the way like sql, what is a must have.

      I mean, there should be a mechanism we can delete items automatically if a DBRef becomes null
      (the item wehere the reference points to is removed). In SQL you have foreign keys with ON DELETE CASCADE or ON UPDATE CASCADE, etc.

      Is it possible to do this (easily) ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            vdvleon Leon van der Veen
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: