Ash*_*sh 1 php indexing mongodb
这是查询:
$collection->find(array("x"=>new MongoId("..."))->skip(5)->limit(10);
Run Code Online (Sandbox Code Playgroud)
使用说明给出以下结果:
[n]=>10
[nscanned]=>15
[nscannedObjects]=>15
Run Code Online (Sandbox Code Playgroud)
有索引"x".那么,如果我跳过前5个文件,为什么扫描对象的数量是15而不是10?
| 归档时间: |
|
| 查看次数: |
9987 次 |
| 最近记录: |