mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 18:48:09 +08:00
Update mongodb
This commit is contained in:
@@ -21,7 +21,7 @@ namespace MongoDb.Ado.data
|
||||
{
|
||||
var filter = doc["filter"].AsBsonDocument;
|
||||
var update = doc["update"].AsBsonDocument;
|
||||
var result =await collection.UpdateManyAsync(filter, update);
|
||||
var result =await collection.UpdateManyAsync(filter, update,null,token);
|
||||
total += (int)result.ModifiedCount;
|
||||
}
|
||||
return total;
|
||||
|
Reference in New Issue
Block a user