Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-5025

Document caveats of embedded documents without _id field

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 7.2.1
    • Docs
    • None
    • Fully Compatible

    Description

      https://jira.mongodb.org/browse/MONGOID-5019 introduced documentation on how users can alter/remove the `_id` field from Documents.

      This is generally ill-advised and the documentation should explain what the risks/side-effects/broken functionality happens as a result.

      For example, if you embed many docs without _id, you might not be able to atomically update/delete those docs.

      Attachments

        Issue Links

          Activity

            People

              oleg.pudeyev@mongodb.com Oleg Pudeyev
              shields@tablecheck.com Johnny Shields
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: