As per documentation and code IMongoCollection.InsertMany
method in MongoDB C# driver returns nothing. It is strange because e.g. DeleteMany
returns DeleteResult
info. Even InsertMany
as Shell method returns info with Acknowledged etc. (see here).
What is the reason of it? And most important question: how to quickly (without sacrificing performance) get confirmation that InsertMany
was correctly done (Acknowledged == true
)?