Currently I can use UpdateBuilder to update document,but how can I tell it use value of field B o update field A?
// code placeholder var builder = Builders<T>.Update; //Seems builder.Set("A","$B"); // will update value of field 'A' to be '$B', but not the value of field B
- is related to
-
CSHARP-5189 Add an overload to Update that takes a pipeline argument
- Backlog
-
CSHARP-4747 Add support for $set stage
- Closed