-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
client = Mongo::Client.new(["localhost:27017"], write: { w: 10 } ) client[:test].insert_many([{x: 1}, {y: 2}]) => #<Mongo::BulkWrite::Result:0x007fc2cb984a00 @results={"n_inserted"=>0, "inserted_ids"=>[<BSON::ObjectId:...>, <BSON::ObjectId:...6>]}>
should raise an error.
This bug is only present in 2.1.0.beta