MongoDB\Driver\Cursor::key
(mongodb >=1.9.0)
MongoDB\Driver\Cursor::key — Returns the current result's index within the cursor
说明
参数
此函数没有参数。
返回值
The current result's numeric index within the cursor.
参见
- Iterator::key() - 返回当前元素的键
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/mongodb-driver-cursor.key.php