mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 10:38:09 +08:00
Update mongoDb
This commit is contained in:
@@ -24,7 +24,8 @@ namespace MongoDb.Ado.data
|
||||
|
||||
// 执行聚合查询并返回 DbDataReader
|
||||
var cursor =await aggregateFluent.ToListAsync(token);
|
||||
return new MongoDbBsonDocumentDataReader(cursor);
|
||||
var result = MongoDbDataReaderHelper.ToDataReader(cursor);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user