Is it possible to know Doc开发者_运维知识库ument Insertion failure in MongoDB. I am using C# to connect to MongoDB.
You have to enable the "safe mode" on the operation level. safe=True in Python. Check with the C# drivers docs for the related functionality in C#.
精彩评论