Details
-
New Feature
-
Resolution: Done
-
Major - P3
-
None
Description
The method takes a BSONObject and does one of two things:
If the object does not have an _id field it inserts the object.
If the object does have an _id field it performs an upsert where the query doc is simply {_id: <the id from the BSONObject>} and the update doc is the provided BSONObject.