-
Type: Bug
-
Resolution: Duplicate
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Summary
await coll.UpdateOneAsync(p => p.Name == "username", update, new UpdateOptions() { Comment = "abc" });
MongoDB.Driver.MongoCommandException : Command update failed: BSON field 'update.comment' is an unknown field..
Environment
MongoDB.Driver 2.18.0
Dotnet 6
Windows 11 x64
Mongodb Server version 4.2
- duplicates
-
CSHARP-4471 UpdateOneAsync with comment cause MongoCommandException
- Closed