Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2124

Test that inserts and upserts respect null _id values

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Component/s: CRUD
    • Labels:
      None
    • Needed

      In the context of this ticket, "null" refers to the BSON null type (0x0A).

      This should exercise insertOne, insertMany, updateOne, updateMany, replaceOne, and bulkWrite. Update commands will use the "upsert" option.

      SPEC-1135 should ensure that drivers can report a null upserted ID in a result object. Since reporting of inserted IDs is optional, not all drivers will need to test for that. However, all drivers will be able to assert on expected collection data following the write operation.

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

              Created:
              Updated: