Update mongodb

This commit is contained in:
sunkaixuan
2025-05-26 12:02:35 +08:00
parent 77ecdcbef5
commit 711085c72a
2 changed files with 29 additions and 3 deletions

View File

@@ -116,7 +116,15 @@ namespace MongoDbTest
Id = it.Id,
Name = it.Name+"b",
Name2 = "b"+it.Name
}).ToDataTable();
}).ToDataTable();
//var list13 = db.Queryable<OrderInfo>()
// .GroupBy(it=>it.Name)
// .Select(it => new
// {
// Id = it.Name,
// Name =SqlFunc.AggregateMax(it.Id)
// }).ToList();
//测试生成SQL性能
TestSqlBuilder(db);
}