Details
-
New Feature
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
(copied to CRM)
Description
Hi
Please can you review the following for a future improvement:
InsertOne(), InsertOneAsync(), InsertMany(), InsertManyAsync() methods do not return anything. They should return something I would expect an object based on the other methods below:
DeleteOne and DeleteOneAsync() returns a DeleteResult object
UpdateOne and UpdateOneAsync() returns an UpdateResult object
I have worked around this using the BulkInsert/BulkInsertResult but the above insert methods should return an InsertResult object.
The Java driver does return an InsertResult object.
Many thanks