Lite |
| Name | Description | |
|---|---|---|
| UpdateMany(BsonExpression, BsonExpression) | Update many documents based on transform expression. This expression must return a new document that will be replaced over current document (according with predicate). Eg: col.UpdateMany("{ Name: UPPER($.Name), Age }", "_id > 0") | |
| UpdateMany(ExpressionFuncT, T, ExpressionFuncT, Boolean) | Update many document based on merge current document with extend expression. Use your class with initializers. Eg: col.UpdateMany(x => new Customer { Name = x.Name.ToUpper(), Salary: 100 }, x => x.Name == "John") |