-
Type: New Feature
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: API
-
(copied to CRM)
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