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

@@ -16,7 +16,7 @@ namespace MongoDb.Ado.data
public async Task<int> HandleAsync(IMongoCollection<BsonDocument> collection, string json)
{
var documents = ParseJsonArray(json);
await collection.InsertManyAsync(documents);
await collection.InsertManyAsync(documents,null,token);
return documents.Count;
}