ID field rename doesn't handle multiple inserts at once

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • laravel-5.4.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • PHP Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Originally reported in https://github.com/mongodb/laravel-mongodb/issues/3428.

      When inserting a document that has $incrementing=false, the insert method passes an array of documents to aliasIdForQuery, which causes each root document to be treated as an embedded document.

            Assignee:
            Andreas Braun
            Reporter:
            Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: