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

On $lookup's foreign key sometimes 'id' works sometimes '_id' works

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.4.2
    • Component/s: None
    • None
    • Server Triage
    • ALL
    • Hide

      I don't know how to reproduce this. If I able to reproduce I let here

      Show
      I don't know how to reproduce this. If I able to reproduce I let here
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      I am using 22.04

      Mongodb version 4.4.22

       

      On mongodb $lookup Sometimes 'id' works and sometimes '_id' works.

       

      I am attaching mongodb campass and vs code git changelog images as reference.

        1. IMG_20230611_075017_303.jpg
          IMG_20230611_075017_303.jpg
          2.55 MB
        2. IMG_20230611_075151_535.jpg
          IMG_20230611_075151_535.jpg
          2.38 MB

            Assignee:
            chris.kelly@mongodb.com Chris Kelly
            Reporter:
            todbapi@gmail.com BAPI DEY
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: