The latest version of official c# driver has SafeMode enabled by default, this means that all operations return result of operation via getLastError method. Also SafeMode was renamed into WriteConcern.
Get upsert result code or confirmation from MongoDB C#
Domanda
I would like to find out if MongoDB has performed an insert, or updated the record. How do I find that out through the C# driver?
Thank you very much!
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow