This should not be legal due to the second argument being a replacement (i.e., no dollar operators exist.)
await collection.UpdateOneAsync("{x:1}", "{ }");
- is related to
-
JAVA-1795 Collection update methods should throw if update document is empty
- Closed