Update mongodb

This commit is contained in:
sunkaixuan
2025-05-02 16:55:48 +08:00
parent 9552fd74a4
commit 9b394ced24
21 changed files with 70 additions and 31 deletions

View File

@@ -9,6 +9,7 @@ namespace MongoDb.Ado.data
{
public class UpdateHandlerAsync : IMongoOperationHandlerAsync
{
public string operation { get; set; }
public async Task<int> HandleAsync(IMongoCollection<BsonDocument> collection, string json)
{
var doc = BsonDocument.Parse(json);