-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.4.0-beta1
-
Component/s: Operations
-
None
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"
}