-
Type: New Feature
-
Resolution: Won't Do
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Feature Request
It would be awesome if we could use expression trees to specify not just queries but also updates. For example, we might update set or increment fields as follows:
collection.UpdateOne(model => model.Id == id1, model => model.Name = newName); collection.UpdateOne(model => model.Id == id2, model => model.Count++);