mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-16 04:59:34 +08:00
Update mongodb
This commit is contained in:
parent
552d9d230f
commit
11b0a09a00
@ -36,7 +36,7 @@ namespace MongoDb.Ado.data
|
|||||||
if (projection != null)
|
if (projection != null)
|
||||||
findFluent = findFluent.Project<BsonDocument>(projection);
|
findFluent = findFluent.Project<BsonDocument>(projection);
|
||||||
|
|
||||||
var cursor = findFluent.ToEnumerable();
|
var cursor = findFluent.ToList();
|
||||||
return new MongoDbBsonDocumentDataReader(cursor); // 你要确保这个类支持逐行读取 BsonDocument
|
return new MongoDbBsonDocumentDataReader(cursor); // 你要确保这个类支持逐行读取 BsonDocument
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user