Update mongodb

This commit is contained in:
sunkaixuan
2025-06-11 20:05:19 +08:00
parent b3da93082b
commit c6ca767eb7
3 changed files with 57 additions and 11 deletions

View File

@@ -122,8 +122,8 @@ namespace MongoDbTest
.GroupBy(it => it.Name)
.Select(it => new
{
Id = it.Name,
MyCount = SqlFunc.AggregateCount(it.Id)
Name = it.Name,
x = SqlFunc.AggregateCount(it.Id)
}).ToList();
//测试生成SQL性能
TestSqlBuilder(db);