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

Test that inserts and upserts respect null _id values

    XMLWordPrintableJSON

Details

    • Spec Change
    • Status: Backlog
    • Minor - P4
    • Resolution: Unresolved
    • None
    • CRUD
    • None
    • Needed

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: