[DRIVERS-2124] Test that inserts and upserts respect null _id values Created: 01/Aug/18  Updated: 31/Mar/22

Status: Backlog
Project: Drivers
Component/s: CRUD
Fix Version/s: None

Type: Spec Change Priority: Minor - P4
Reporter: Jeremy Mikola Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Driver Changes: 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.


Generated at Thu Feb 08 08:24:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.