Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
2.4.0-beta1
-
None
Description
var cursor = mongoCol.FindAllAs<BsonDocument>()
.SetSkip(currentDataViewInfo.SkipCnt)
.SetLimit(currentDataViewInfo.LimitCnt);
the SkipCnt and LimitCnt is 0.
var dataList = cursor.ToList();
// the Length of datalist is 2;
var CurrentCollectionTotalCnt = (int)mongoCol.Count(); //CurrentCollectionTotalCnt is 1
//Test Record is below
/* 1 */
{
"_id" :
,
"loc" :
,
"name" : "Central Park",
"category" : "Parks"
}
/* 2 */
{
"_id" :
,
"loc" :
,
"name" : "La Guardia Airport",
"category" : "Airport"
}