Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-624

WriteResult::getUpsertedIds() only supports ObjectIDs and integers

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.0-beta1, 1.3.0
    • Affects Version/s: 1.1.3
    • Component/s: None
    • Labels:
      None

      The getUpsertedIds() implementation only handles ObjectID and integer (32-bit and 64-bit) values. This is incomplete, since an _id may be any non-array BSON type.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: