[CSHARP-2726] MongoDB c# driver insertone writeconcernresult Created: 03/Sep/19 Updated: 27/Oct/23 Resolved: 10/Sep/19 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Manivannan Ponnusamy | Assignee: | Unassigned |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
I am trying test MongoDB C# driver write concern functionality with insertone method, But it doesn't return writeconcernresult as a return value. writeconcernresult is available only with the legacy driver. How to test write concern with latest c# driver with insert one method? |
| Comments |
| Comment by Manivannan Ponnusamy [ 10/Sep/19 ] |
|
Thanks for your reply. Please update the API documentation as well. It will be really helpful for the developers. |
| Comment by Esha Bhargava [ 10/Sep/19 ] |
|
pmanivannan89@gmail.comThe driver will throw an exception if the write concern is not satisfied. |