Update mongodb

This commit is contained in:
sunkaixuan
2025-06-10 17:48:57 +08:00
parent b41076f0b0
commit ea02771199
3 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ namespace MongoDb.Ado.data
public async Task<int> HandleAsync(IMongoCollection<BsonDocument> collection, string json)
{
var doc = BsonDocument.Parse(json);
await collection.InsertOneAsync(doc);
await collection.InsertOneAsync(doc,null,token);
return 1;
}
}