$startplushowmany=$startfrom+$howmany; //$startplush is 40
$cursor=$cursor->limit($startplushowmany);
$numberReturned=$cursor->count(); //$numberReturned is 45
我不能给你看 $cursor 的内容,因为 $cursor 没有实现 _toString。请让我知道该怎么做。
现在 $cursor 中的查询由以下命令定义: $cursor = $collection->find($rangeQuery, $field);
$rangeQuery 在哪里
(string:592) Array
(
[LongitudeLatitude] => Array
(
[$within] => Array
(
[$center] => Array
(
[0] => Array
(
[0] => 106.772835
[1] => -6.186753
)
[1] => 0.044983732050783
)
)
)
[indexContents] => bas
[Prominent] => Array
(
[$gte] => 15
)
)
和
$字段是
(string:39) Array
(
[LongitudeLatitude] => 1
)